<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: xact.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a00272.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">xact.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="a03620_source.html">precomp.h</a>&quot;</code><br />
</div>
<p><a href="a00272_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:a8dffa4eafeb93b39fcbfa5a7214d800f"><td class="memItemLeft" align="right" valign="top">HDDEDATA&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00272.html#a8dffa4eafeb93b39fcbfa5a7214d800f">DdeClientTransaction</a> (LPBYTE pData, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> cbData, HCONV hConv, HSZ hszItem, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> wFmt, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> wType, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> ulTimeout, LPDWORD pulResult)</td></tr>
<tr class="separator:a8dffa4eafeb93b39fcbfa5a7214d800f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa23a5781d2648130b7fe700b25e3b157"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00272.html#aa23a5781d2648130b7fe700b25e3b157">GetConvContext</a> (HWND hwnd, LONG *pl)</td></tr>
<tr class="separator:aa23a5781d2648130b7fe700b25e3b157"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0924c97489b4d0575965f05d497a7142"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00272.html#a0924c97489b4d0575965f05d497a7142">SetConvContext</a> (HWND hwnd, LONG *pl)</td></tr>
<tr class="separator:a0924c97489b4d0575965f05d497a7142"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad324a104ff1081c5a18fdbec308387e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00272.html#ad324a104ff1081c5a18fdbec308387e4">DdeQueryConvInfo</a> (HCONV hConv, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> idTransaction, PCONVINFO pConvInfo)</td></tr>
<tr class="separator:ad324a104ff1081c5a18fdbec308387e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57ddf7d973c9c1c556cb962735addbc5"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00272.html#a57ddf7d973c9c1c556cb962735addbc5">DdeSetUserHandle</a> (HCONV hConv, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> id, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> hUser)</td></tr>
<tr class="separator:a57ddf7d973c9c1c556cb962735addbc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad285473b71ec0abd8d48a1ee988f7cf9"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00272.html#ad285473b71ec0abd8d48a1ee988f7cf9">AbandonTransaction</a> (<a class="el" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a> pcoi, <a class="el" href="a00086.html#a908a74e7a82f658e6725be8a2891f24e">PXACT_INFO</a> pxi)</td></tr>
<tr class="separator:ad285473b71ec0abd8d48a1ee988f7cf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad85cfb78e0ddb1b229537d352e86b6b5"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00272.html#ad85cfb78e0ddb1b229537d352e86b6b5">AbandonEnumerateProc</a> (HWND hwnd, LONG idTransaction)</td></tr>
<tr class="separator:ad85cfb78e0ddb1b229537d352e86b6b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a638629429b2481712a3eb493942657f9"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00272.html#a638629429b2481712a3eb493942657f9">DdeAbandonTransaction</a> (<a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> idInst, HCONV hConv, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> idTransaction)</td></tr>
<tr class="separator:a638629429b2481712a3eb493942657f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23e4005eb40215f2d10dcbc3d28c7035"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00272.html#a23e4005eb40215f2d10dcbc3d28c7035">UpdateLinkIfChanged</a> (<a class="el" href="a00086.html#a164117241c775958fe49a399fda44d81">PADVISE_LINK</a> paLink, <a class="el" href="a00086.html#a908a74e7a82f658e6725be8a2891f24e">PXACT_INFO</a> pxi, <a class="el" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a> pcoi, <a class="el" href="a00086.html#a164117241c775958fe49a399fda44d81">PADVISE_LINK</a> paLinkLast, PBOOL pfSwapped, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> cLinksToGo)</td></tr>
<tr class="separator:a23e4005eb40215f2d10dcbc3d28c7035"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc903b534f2da619df537e896aa113aa"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00272.html#abc903b534f2da619df537e896aa113aa">DdePostAdvise</a> (<a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> idInst, HSZ hszTopic, HSZ hszItem)</td></tr>
<tr class="separator:abc903b534f2da619df537e896aa113aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89bdce114c4b9e3cfb093133493e3e9c"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00272.html#a89bdce114c4b9e3cfb093133493e3e9c">LinkTransaction</a> (<a class="el" href="a00086.html#a908a74e7a82f658e6725be8a2891f24e">PXACT_INFO</a> pxi)</td></tr>
<tr class="separator:a89bdce114c4b9e3cfb093133493e3e9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeaa3db47eb42dd9d269b0634f2c9246d"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00272.html#aeaa3db47eb42dd9d269b0634f2c9246d">UnlinkTransaction</a> (<a class="el" href="a00086.html#a908a74e7a82f658e6725be8a2891f24e">PXACT_INFO</a> pxi)</td></tr>
<tr class="separator:aeaa3db47eb42dd9d269b0634f2c9246d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b737e544221f0da4c09fe14a5e64aa4"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00272.html#a6b737e544221f0da4c09fe14a5e64aa4">ValidateTransaction</a> (HCONV hConv, HANDLE hXact, <a class="el" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a> *ppcoi, <a class="el" href="a00086.html#a908a74e7a82f658e6725be8a2891f24e">PXACT_INFO</a> *ppxi)</td></tr>
<tr class="separator:a6b737e544221f0da4c09fe14a5e64aa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">函数说明</h2>
<a id="ad85cfb78e0ddb1b229537d352e86b6b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad85cfb78e0ddb1b229537d352e86b6b5">&#9670;&nbsp;</a></span>AbandonEnumerateProc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL AbandonEnumerateProc </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LONG&#160;</td>
          <td class="paramname"><em>idTransaction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00272_source.html">xact.c</a> 第 <a class="el" href="a00272_source.html#l00530">530</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;{</div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;    <a class="code" href="a01845.html">PCONV_INFO</a> pcoi;</div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160; </div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;    pcoi = (<a class="code" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a>)GetWindowLong(hwnd, GWL_PCI);</div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;    <span class="keywordflow">if</span> (!pcoi || !(pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_CLIENT)) {</div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;        <span class="keywordflow">return</span>(TRUE);</div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;    }</div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;    <span class="keywordflow">while</span> (pcoi) {</div>
<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;        <a class="code" href="a00272.html#ad285473b71ec0abd8d48a1ee988f7cf9">AbandonTransaction</a>(pcoi, (<a class="code" href="a01821.html">PXACT_INFO</a>)idTransaction);</div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;        pcoi = pcoi-&gt;<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a>;</div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;    }</div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;    <span class="keywordflow">return</span>(TRUE);</div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00272_source.html#l00515">AbandonTransaction()</a>, <a class="el" href="a00086_source.html#l00203">tagCONV_INFO::next</a> , 以及 <a class="el" href="a00086_source.html#l00211">tagCONV_INFO::state</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00272_source.html#l00558">DdeAbandonTransaction()</a>.</p>

</div>
</div>
<a id="ad285473b71ec0abd8d48a1ee988f7cf9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad285473b71ec0abd8d48a1ee988f7cf9">&#9670;&nbsp;</a></span>AbandonTransaction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID AbandonTransaction </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a>&#160;</td>
          <td class="paramname"><em>pcoi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00086.html#a908a74e7a82f658e6725be8a2891f24e">PXACT_INFO</a>&#160;</td>
          <td class="paramname"><em>pxi</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00272_source.html">xact.c</a> 第 <a class="el" href="a00272_source.html#l00515">515</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;{</div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;    <span class="keywordflow">if</span> (pxi != NULL) {</div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;        pxi-&gt;<a class="code" href="a01821.html#aa5250ff1f63a5d1730bc299c7a96b6af">flags</a> |= <a class="code" href="a00086.html#a719adb0898e764e3a14eaaad50bf7606">XIF_ABANDONED</a>;</div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;        <span class="keywordflow">for</span> (pxi = pcoi-&gt;<a class="code" href="a01845.html#a75a4f922bf2ce728600db75f33c697bf">pxiIn</a>; pxi != NULL; pxi = pxi-&gt;<a class="code" href="a01821.html#a153d6c3a56fb1f036b945c7eb58bfe27">next</a>) {</div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;            pxi-&gt;<a class="code" href="a01821.html#aa5250ff1f63a5d1730bc299c7a96b6af">flags</a> |= <a class="code" href="a00086.html#a719adb0898e764e3a14eaaad50bf7606">XIF_ABANDONED</a>;</div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;        }</div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;    }</div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00122">tagXACT_INFO::flags</a>, <a class="el" href="a00086_source.html#l00113">tagXACT_INFO::next</a>, <a class="el" href="a00086_source.html#l00213">tagCONV_INFO::pxiIn</a> , 以及 <a class="el" href="a00086_source.html#l00130">XIF_ABANDONED</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00272_source.html#l00530">AbandonEnumerateProc()</a> , 以及 <a class="el" href="a00272_source.html#l00558">DdeAbandonTransaction()</a>.</p>

</div>
</div>
<a id="a638629429b2481712a3eb493942657f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a638629429b2481712a3eb493942657f9">&#9670;&nbsp;</a></span>DdeAbandonTransaction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL DdeAbandonTransaction </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>idInst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HCONV&#160;</td>
          <td class="paramname"><em>hConv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>idTransaction</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00272_source.html">xact.c</a> 第 <a class="el" href="a00272_source.html#l00558">558</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;{</div>
<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;    <a class="code" href="a01845.html">PCONV_INFO</a> pcoi;</div>
<div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;    <a class="code" href="a01821.html">PXACT_INFO</a> pxi;</div>
<div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;    <a class="code" href="a01841.html">PCL_INSTANCE_INFO</a> pcii;</div>
<div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;    BOOL fRet = FALSE;</div>
<div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160; </div>
<div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;    <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160; </div>
<div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;    pcii = <a class="code" href="a00086.html#a79511ee28e1a1b4843ee182f03a7f975">ValidateInstance</a>((HANDLE)idInst);</div>
<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160; </div>
<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;    <span class="keywordflow">if</span> (hConv == 0 &amp;&amp; idTransaction == 0) {</div>
<div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;        <a class="code" href="a00017.html#a66b03f4fabbf53c448e78f023d0b9d28">EnumChildWindows</a>(pcii-&gt;<a class="code" href="a01841.html#a95c5ea2fe9e74aa8b772f13287b0ecda">hwndMother</a>, (WNDENUMPROC)<a class="code" href="a00272.html#ad85cfb78e0ddb1b229537d352e86b6b5">AbandonEnumerateProc</a>, 0);</div>
<div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;    }</div>
<div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;    <span class="keywordflow">if</span> (idTransaction == 0) {</div>
<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;        idTransaction = QID_SYNC;</div>
<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;    }</div>
<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="a00272.html#a6b737e544221f0da4c09fe14a5e64aa4">ValidateTransaction</a>(hConv, (HANDLE)idTransaction, &amp;pcoi, &amp;pxi)) {</div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;    }</div>
<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;    <span class="keywordflow">if</span> (pcii == NULL || pcoi-&gt;<a class="code" href="a01845.html#ac54e3b685e73c03228d890f651895a84">pcii</a> != pcii) {</div>
<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;        <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcoi-&gt;<a class="code" href="a01845.html#ac54e3b685e73c03228d890f651895a84">pcii</a>, DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;    }</div>
<div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;    <a class="code" href="a00272.html#ad285473b71ec0abd8d48a1ee988f7cf9">AbandonTransaction</a>(pcoi, pxi);</div>
<div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;    fRet = TRUE;</div>
<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160; </div>
<div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;Exit:</div>
<div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;    <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;    <span class="keywordflow">return</span> (fRet);</div>
<div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00272_source.html#l00530">AbandonEnumerateProc()</a>, <a class="el" href="a00272_source.html#l00515">AbandonTransaction()</a>, <a class="el" href="a00086_source.html#l00040">EnterDDECrit</a>, <a class="el" href="a00017_source.html#l00052">EnumChildWindows()</a>, <a class="el" href="a00086_source.html#l00180">tagCL_INSTANCE_INFO::hwndMother</a>, <a class="el" href="a00086_source.html#l00041">LeaveDDECrit</a>, <a class="el" href="a00086_source.html#l00204">tagCONV_INFO::pcii</a>, <a class="el" href="a00170_source.html#l00137">SetLastDDEMLError()</a>, <a class="el" href="a00170_source.html#l00111">ValidateInstance()</a> , 以及 <a class="el" href="a00272_source.html#l00863">ValidateTransaction()</a>.</p>

</div>
</div>
<a id="a8dffa4eafeb93b39fcbfa5a7214d800f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8dffa4eafeb93b39fcbfa5a7214d800f">&#9670;&nbsp;</a></span>DdeClientTransaction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HDDEDATA DdeClientTransaction </td>
          <td>(</td>
          <td class="paramtype">LPBYTE&#160;</td>
          <td class="paramname"><em>pData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>cbData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HCONV&#160;</td>
          <td class="paramname"><em>hConv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HSZ&#160;</td>
          <td class="paramname"><em>hszItem</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>wFmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>wType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>ulTimeout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPDWORD&#160;</td>
          <td class="paramname"><em>pulResult</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00272_source.html">xact.c</a> 第 <a class="el" href="a00272_source.html#l00022">22</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;{</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    MSG msg;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <a class="code" href="a01841.html">PCL_INSTANCE_INFO</a> pcii = NULL;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    HDDEDATA hRet = 0;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <a class="code" href="a01849.html">PCL_CONV_INFO</a> pci;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;    <a class="code" href="a01865.html">PDDEMLDATA</a> pdd = NULL;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <a class="code" href="a01821.html">PXACT_INFO</a> pxi;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    BOOL fStarted;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    <a class="code" href="a02041.html">PDDE_DATA</a> pdde;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    pci = (<a class="code" href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a>)<a class="code" href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a>((HANDLE)hConv,</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;            <a class="code" href="a00086.html#af24a0b4a7f0b1cafbdaa4f3dfa57248e">HTYPE_CLIENT_CONVERSATION</a>, <a class="code" href="a00086.html#a1404f4537352b9accf0bad83b81d3097">HINST_ANY</a>);</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <span class="keywordflow">if</span> (pci == NULL) {</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        <a class="code" href="a00086.html#a6e665e4ec7d374d1438e7970fb02d47c">BestSetLastDDEMLError</a>(DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    }</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;    pcii = pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#ac54e3b685e73c03228d890f651895a84">pcii</a>;</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <span class="keywordflow">if</span> (ulTimeout != TIMEOUT_ASYNC &amp;&amp; GetClientInfo()-&gt;CI_flags &amp; CI_IN_SYNC_TRANSACTION) {</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;        <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_REENTRANCY);</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    }</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;    <span class="keywordflow">if</span> (!(pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_CONNECTED)) {</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_NO_CONV_ESTABLISHED);</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    }</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keywordflow">switch</span> (wType) {</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="keywordflow">case</span> XTYP_POKE:</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keywordflow">case</span> XTYP_ADVSTART:</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <span class="keywordflow">case</span> XTYP_ADVSTART | XTYPF_NODATA:</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="keywordflow">case</span> XTYP_ADVSTART | XTYPF_ACKREQ:</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keywordflow">case</span> XTYP_ADVSTART | XTYPF_NODATA | XTYPF_ACKREQ:</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <span class="keywordflow">case</span> XTYP_REQUEST:</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="keywordflow">case</span> XTYP_ADVSTOP:</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        <span class="keywordflow">if</span> (hszItem == 0) {</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;            <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;            <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        }</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;    <span class="keywordflow">case</span> XTYP_EXECUTE: <span class="comment">// just ignore wFmt &amp; hszItem</span></div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160; </div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    }</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160; </div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    pxi = <a class="code" href="a00086.html#acc904eaf46cb98fa7741658d8e00f06c">DDEMLAlloc</a>(<span class="keyword">sizeof</span>(<a class="code" href="a01821.html">XACT_INFO</a>));</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="keywordflow">if</span> (pxi == NULL) {</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_MEMORY_ERROR);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    }</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;    <span class="keywordflow">switch</span> (wType) {</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;    <span class="keywordflow">case</span> XTYP_EXECUTE:</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    <span class="keywordflow">case</span> XTYP_POKE:</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        <span class="keywordflow">if</span> ((LONG)cbData == -1L) {</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;            <span class="comment">// We are accepting an existing data handle for export to another</span></div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;            <span class="comment">// app.</span></div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;            pdd = (<a class="code" href="a00086.html#a3a6dc4779828830febfd0fef1df87c45">PDDEMLDATA</a>)<a class="code" href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a>((HANDLE)pData,</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;                    <a class="code" href="a00086.html#a16b95326c12d90db9bd4da05718a148e">HTYPE_DATA_HANDLE</a>, <a class="code" href="a00086.html#a1404f4537352b9accf0bad83b81d3097">HINST_ANY</a>);</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;            <span class="keywordflow">if</span> (pdd == NULL) {</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;InvParam:</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;                <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;                <a class="code" href="a00086.html#a14b7b2abd485b184293dcd3d34c29e23">DDEMLFree</a>(pxi);</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;                <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;            }</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;            <span class="comment">// make sure data handle holds apropriate data for this transaction</span></div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;            <span class="keywordflow">if</span> ((pdd-&gt;<a class="code" href="a01865.html#a29bb851466268efcf57e7e81e2d0ab09">flags</a> &amp; HDATA_EXECUTE &amp;&amp; wType != XTYP_EXECUTE) ||</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;                    (!(pdd-&gt;<a class="code" href="a01865.html#a29bb851466268efcf57e7e81e2d0ab09">flags</a> &amp; HDATA_EXECUTE) &amp;&amp; wType == XTYP_EXECUTE)) {</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;                <span class="keywordflow">goto</span> InvParam;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;            }</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; </div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;            <span class="comment">// To simplify life, use a copy if this handle is potentially</span></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;            <span class="comment">// a relay or APPOWNED handle.</span></div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160; </div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;            <span class="keywordflow">if</span> (pdd-&gt;<a class="code" href="a01865.html#a29bb851466268efcf57e7e81e2d0ab09">flags</a> &amp; (HDATA_APPOWNED | HDATA_NOAPPFREE)) {</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;                pxi-&gt;<a class="code" href="a01821.html#a384e253a2bcbd5fba033ae3d9367b7e2">hDDESent</a> = <a class="code" href="a00086.html#af89b93db5d183dfb4be78f13c4761c37">CopyDDEData</a>(pdd-&gt;<a class="code" href="a01865.html#a4972111cfc06fe665c9de97d85abb5cc">hDDE</a>, wType == XTYP_EXECUTE);</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;                <span class="keywordflow">if</span> (!pxi-&gt;<a class="code" href="a01821.html#a384e253a2bcbd5fba033ae3d9367b7e2">hDDESent</a>) {</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;MemErr:</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;                    <a class="code" href="a00086.html#a14b7b2abd485b184293dcd3d34c29e23">DDEMLFree</a>(pxi);</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;                    <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_MEMORY_ERROR);</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;                    <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;                }</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;                USERGLOBALLOCK(pxi-&gt;<a class="code" href="a01821.html#a384e253a2bcbd5fba033ae3d9367b7e2">hDDESent</a>, pdde);</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;                <span class="keywordflow">if</span> (pdde == NULL) {</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;                    <a class="code" href="a00086.html#ac15ecf31fbeaa6e816f2f916d4ed2371">FreeDDEData</a>(pxi-&gt;<a class="code" href="a01821.html#a384e253a2bcbd5fba033ae3d9367b7e2">hDDESent</a>, TRUE, TRUE);</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;                    <span class="keywordflow">goto</span> MemErr;</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;                }</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;                pdde-&gt;<a class="code" href="a02041.html#a1954303f7113d24c70c895196e307539">wStatus</a> = DDE_FRELEASE;</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;                USERGLOBALUNLOCK(pxi-&gt;<a class="code" href="a01821.html#a384e253a2bcbd5fba033ae3d9367b7e2">hDDESent</a>);</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;            } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;                pxi-&gt;<a class="code" href="a01821.html#a384e253a2bcbd5fba033ae3d9367b7e2">hDDESent</a> = pdd-&gt;<a class="code" href="a01865.html#a4972111cfc06fe665c9de97d85abb5cc">hDDE</a>;</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;            }</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160; </div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;            <span class="comment">// make sure handle has proper format</span></div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;            <span class="keywordflow">if</span> (wType == XTYP_POKE) {</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;                USERGLOBALLOCK(pxi-&gt;<a class="code" href="a01821.html#a384e253a2bcbd5fba033ae3d9367b7e2">hDDESent</a>, pdde);</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;                <span class="keywordflow">if</span> (pdde == NULL) {</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;                    <span class="keywordflow">goto</span> InvParam;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;                }</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;                pdde-&gt;<a class="code" href="a02041.html#ac6ac629d505432bedeb5cb3b7123ac98">wFmt</a> = (WORD)wFmt;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;                USERGLOBALUNLOCK(pxi-&gt;<a class="code" href="a01821.html#a384e253a2bcbd5fba033ae3d9367b7e2">hDDESent</a>);</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;            }</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160; </div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        } <span class="keywordflow">else</span> {  <span class="comment">// Convert data in buffer into an apropriate hDDE</span></div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;            <span class="keywordflow">if</span> (wType == XTYP_POKE) {</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;                pxi-&gt;<a class="code" href="a01821.html#a384e253a2bcbd5fba033ae3d9367b7e2">hDDESent</a> = <a class="code" href="a00086.html#a25b452366140d5cd334ef6f331b32aba">AllocAndSetDDEData</a>(pData, cbData,</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;                        DDE_FRELEASE, (WORD)wFmt);</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;            } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;                pxi-&gt;<a class="code" href="a01821.html#a384e253a2bcbd5fba033ae3d9367b7e2">hDDESent</a> = <a class="code" href="a00086.html#a25b452366140d5cd334ef6f331b32aba">AllocAndSetDDEData</a>(pData, cbData, 0, 0);</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;            }</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;            <span class="keywordflow">if</span> (!pxi-&gt;<a class="code" href="a01821.html#a384e253a2bcbd5fba033ae3d9367b7e2">hDDESent</a>) {</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;                <span class="keywordflow">goto</span> MemErr;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;            }</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;        }</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;    }</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    <span class="comment">// FINALLY - start the transaction</span></div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160; </div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;    pxi-&gt;<a class="code" href="a01821.html#a05a65f9f292bfebcf667b325200292f0">pcoi</a> = (<a class="code" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a>)pci;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;    pxi-&gt;<a class="code" href="a01821.html#ad0b56899c2df27096898ccce24547723">gaItem</a> = <a class="code" href="a00086.html#acf65a97e9c6a58c917c8a0c1a4209c03">LocalToGlobalAtom</a>(<a class="code" href="a00086.html#a4ef5faecf33ead428f95c9e93ef1ef4d">LATOM_FROM_HSZ</a>(hszItem)); <span class="comment">// pxi copy</span></div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;    pxi-&gt;<a class="code" href="a01821.html#ac6ac629d505432bedeb5cb3b7123ac98">wFmt</a> = (WORD)wFmt;</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    pxi-&gt;<a class="code" href="a01821.html#aedf49a5424d4d9ad2cf1817a726c165f">wType</a> = (WORD)wType;</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160; </div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    <span class="keywordflow">switch</span> (wType) {</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;    <span class="keywordflow">case</span> XTYP_ADVSTART:</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    <span class="keywordflow">case</span> XTYP_ADVSTART | XTYPF_NODATA:</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    <span class="keywordflow">case</span> XTYP_ADVSTART | XTYPF_ACKREQ:</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;    <span class="keywordflow">case</span> XTYP_ADVSTART | XTYPF_NODATA | XTYPF_ACKREQ:</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;        fStarted = <a class="code" href="a00086.html#af44bf1d07cfc3fd9da468e05c1028be6">ClStartAdvise</a>(pxi);</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160; </div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;    <span class="keywordflow">case</span> XTYP_ADVSTOP:</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        fStarted = <a class="code" href="a00086.html#ae22ff366c5b7c5bc0cc7d22b5c36884b">ClStartUnadvise</a>(pxi);</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    <span class="keywordflow">case</span> XTYP_EXECUTE:</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;        fStarted = <a class="code" href="a00086.html#ab33fde1c202482901a22501695193256">ClStartExecute</a>(pxi);</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160; </div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    <span class="keywordflow">case</span> XTYP_POKE:</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;        fStarted = <a class="code" href="a00086.html#a2f2b07793813729b365ea0e34d4753a2">ClStartPoke</a>(pxi);</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160; </div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;    <span class="keywordflow">case</span> XTYP_REQUEST:</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        fStarted = <a class="code" href="a00086.html#afa531ef37c095b516574aacc465a9b88">ClStartRequest</a>(pxi);</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    }</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160; </div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;    <span class="keywordflow">if</span> (!fStarted) {</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;        <span class="comment">// if we copied or allocated data - free it.</span></div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;        <span class="keywordflow">if</span> (pxi-&gt;<a class="code" href="a01821.html#a384e253a2bcbd5fba033ae3d9367b7e2">hDDESent</a> &amp;&amp; (pdd == NULL || pxi-&gt;<a class="code" href="a01821.html#a384e253a2bcbd5fba033ae3d9367b7e2">hDDESent</a> != pdd-&gt;<a class="code" href="a01865.html#a4972111cfc06fe665c9de97d85abb5cc">hDDE</a>)) {</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;            <a class="code" href="a00086.html#ac15ecf31fbeaa6e816f2f916d4ed2371">FreeDDEData</a>(pxi-&gt;<a class="code" href="a01821.html#a384e253a2bcbd5fba033ae3d9367b7e2">hDDESent</a>, FALSE, TRUE);     <span class="comment">// free data copy</span></div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;        }</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;        GlobalDeleteAtom(pxi-&gt;<a class="code" href="a01821.html#ad0b56899c2df27096898ccce24547723">gaItem</a>); <span class="comment">// pxi copy</span></div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;        <a class="code" href="a00086.html#a14b7b2abd485b184293dcd3d34c29e23">DDEMLFree</a>(pxi);</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;    }</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160; </div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    <span class="keywordflow">if</span> (pdd != NULL &amp;&amp; !(pdd-&gt;<a class="code" href="a01865.html#a29bb851466268efcf57e7e81e2d0ab09">flags</a> &amp; (HDATA_NOAPPFREE | HDATA_APPOWNED))) {</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160; </div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;        <span class="comment">// invalidate given handle on success - unless we copied it because</span></div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        <span class="comment">// the app will either be return ing it from a callback or potentially</span></div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;        <span class="comment">// using it again.</span></div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160; </div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;        <a class="code" href="a00086.html#a14b7b2abd485b184293dcd3d34c29e23">DDEMLFree</a>(pdd);</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        <a class="code" href="a00086.html#a49f0ae82e6897f4c6208f18e7c04d787">DestroyHandle</a>((HANDLE)pData);</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    }</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160; </div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;    <span class="keywordflow">if</span> (ulTimeout == TIMEOUT_ASYNC) {</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160; </div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;        <span class="comment">// asynchronous transaction</span></div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160; </div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;        <span class="keywordflow">if</span> (pulResult != NULL) {</div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;            pxi-&gt;<a class="code" href="a01821.html#a5ba94794b09bbe63db26f8ff21336123">hXact</a> = <a class="code" href="a00086.html#a87d38bfb89ae342e462db838beab43cf">CreateHandle</a>((<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)pxi, <a class="code" href="a00086.html#a0584e6cac0299e697a2edad0ef508f8b">HTYPE_TRANSACTION</a>,</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;                    <a class="code" href="a00086.html#a6a2176afcdf096eb6add39fa9d673f80">InstFromHandle</a>(pcii-&gt;<a class="code" href="a01841.html#a6a33ca20f90febbc42166c4466d979c2">hInstClient</a>));</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;            *pulResult = (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)pxi-&gt;hXact;</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;        }</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;        hRet = (HDDEDATA)TRUE;</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160; </div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160; </div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;        <span class="comment">// synchronous transaction</span></div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160; </div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;        GetClientInfo()-&gt;CI_flags |= CI_IN_SYNC_TRANSACTION;</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;        pcii-&gt;<a class="code" href="a01841.html#aa5250ff1f63a5d1730bc299c7a96b6af">flags</a> |= <a class="code" href="a00086.html#add6653a51a00a0e50834527371a62c7d">IIF_IN_SYNC_XACT</a>;</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160; </div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;        pxi-&gt;<a class="code" href="a01821.html#aa5250ff1f63a5d1730bc299c7a96b6af">flags</a> |= <a class="code" href="a00086.html#a2a5756b0e255d0398efa69c2d3fa9efa">XIF_SYNCHRONOUS</a>;</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        <a class="code" href="a00362.html#ad70225d60448a064c552efafd13fce64">NtUserSetTimer</a>(pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a>, <a class="code" href="a00086.html#aa00e93da35592eb7500e7beb65887fda">TID_TIMEOUT</a>, ulTimeout, NULL);</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160; </div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;        <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;        <a class="code" href="a00086.html#af4a5ecbacfdd6845c5c37342f333ace4">CheckDDECritOut</a>;</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160; </div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;        <a class="code" href="a00356.html#a23db7caf54fdea982109fee215acbe14">GetMessage</a>(&amp;msg, (HWND)NULL, 0, 0);</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160; </div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;<span class="comment">         * stay in modal loop until a timeout happens.</span></div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;        <span class="keywordflow">while</span> (msg.hwnd != pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a> || msg.message != WM_TIMER ||</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;            (msg.wParam != <a class="code" href="a00086.html#aa00e93da35592eb7500e7beb65887fda">TID_TIMEOUT</a>)) {</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160; </div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;            <span class="keywordflow">if</span> (!<a class="code" href="a00356.html#a31b7d4a59c136a9e1cb019e4fbe7233f">CallMsgFilter</a>(&amp;msg, MSGF_DDEMGR))</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;                DispatchMessage(&amp;msg);</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160; </div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;            <a class="code" href="a00356.html#a23db7caf54fdea982109fee215acbe14">GetMessage</a>(&amp;msg, (HWND)NULL, 0, 0);</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;        }</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160; </div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;        <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160; </div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;        <a class="code" href="a00362.html#a3d1e04978c2c8aa7594bb2ce1187a6ad">NtUserKillTimer</a>(pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a>, <a class="code" href="a00086.html#aa00e93da35592eb7500e7beb65887fda">TID_TIMEOUT</a>);</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;        GetClientInfo()-&gt;CI_flags &amp;= ~CI_IN_SYNC_TRANSACTION;</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;        pcii-&gt;<a class="code" href="a01841.html#aa5250ff1f63a5d1730bc299c7a96b6af">flags</a> &amp;= ~<a class="code" href="a00086.html#add6653a51a00a0e50834527371a62c7d">IIF_IN_SYNC_XACT</a>;</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160; </div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;        <span class="keywordflow">if</span> (pxi-&gt;<a class="code" href="a01821.html#aa5250ff1f63a5d1730bc299c7a96b6af">flags</a> &amp; <a class="code" href="a00086.html#abe83256a62ce986c65420f2cd66c77e9">XIF_COMPLETE</a>) {</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;            <span class="keywordflow">if</span> (pulResult != NULL) {</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;                *pulResult = pxi-&gt;<a class="code" href="a01821.html#a1954303f7113d24c70c895196e307539">wStatus</a>; <span class="comment">// NACK status bits</span></div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;            }</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;            <span class="keywordflow">switch</span> (wType) {</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;            <span class="keywordflow">case</span> XTYP_ADVSTART:</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;            <span class="keywordflow">case</span> XTYP_ADVSTART | XTYPF_NODATA:</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;            <span class="keywordflow">case</span> XTYP_ADVSTART | XTYPF_ACKREQ:</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;            <span class="keywordflow">case</span> XTYP_ADVSTART | XTYPF_NODATA | XTYPF_ACKREQ:</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;            <span class="keywordflow">case</span> XTYP_ADVSTOP:</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;            <span class="keywordflow">case</span> XTYP_EXECUTE:</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;            <span class="keywordflow">case</span> XTYP_POKE:</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;                hRet = (HDDEDATA)((pxi-&gt;<a class="code" href="a01821.html#a1954303f7113d24c70c895196e307539">wStatus</a> &amp; DDE_FACK) ? TRUE : FALSE);</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;                <span class="keywordflow">if</span> (!hRet) {</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;                    <span class="keywordflow">if</span> (pxi-&gt;<a class="code" href="a01821.html#a1954303f7113d24c70c895196e307539">wStatus</a> &amp; DDE_FBUSY) {</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;                        <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_BUSY);</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;                    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;                        <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_NOTPROCESSED);</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;                    }</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;                }</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;                <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160; </div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;            <span class="keywordflow">case</span> XTYP_REQUEST:</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;                <span class="keywordflow">if</span> (pxi-&gt;<a class="code" href="a01821.html#a1b4d14fa2fda5a52ae98ab4b4bca7f7b">hDDEResult</a> == 0) {</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;                    hRet = (HDDEDATA)((pxi-&gt;<a class="code" href="a01821.html#a1954303f7113d24c70c895196e307539">wStatus</a> &amp; DDE_FACK) ? TRUE : FALSE);</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;                    <span class="keywordflow">if</span> (!hRet) {</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;                        <span class="keywordflow">if</span> (pxi-&gt;<a class="code" href="a01821.html#a1954303f7113d24c70c895196e307539">wStatus</a> &amp; DDE_FBUSY) {</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;                            <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_BUSY);</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;                        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;                            <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_NOTPROCESSED);</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;                        }</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;                    }</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;                    <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;                }</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;                <span class="comment">// Note that if the incomming data didn&#39;t have the DDE_FRELEASE</span></div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;                <span class="comment">// bit set, the transaction code would have made a copy so</span></div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;                <span class="comment">// the app is free to keep is as long as he likes.</span></div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160; </div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;                hRet = <a class="code" href="a00086.html#a172a497f8e292f94aa582081b635a467">InternalCreateDataHandle</a>(pcii, (LPBYTE)pxi-&gt;<a class="code" href="a01821.html#a1b4d14fa2fda5a52ae98ab4b4bca7f7b">hDDEResult</a>, (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)-1, 0,</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;                        HDATA_READONLY, 0, 0);</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;                pxi-&gt;<a class="code" href="a01821.html#a1b4d14fa2fda5a52ae98ab4b4bca7f7b">hDDEResult</a> = 0; <span class="comment">// so cleanup doesn&#39;t free it.</span></div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;            }</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160; </div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;            (pxi-&gt;<a class="code" href="a01821.html#a3e72a0d3f2894bdf7fea52a56128e0e5">pfnResponse</a>)((<span class="keyword">struct</span> <a class="code" href="a01821.html">tagXACT_INFO</a> *)pxi, 0, 0); <span class="comment">// cleanup transaction</span></div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160; </div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;        } <span class="keywordflow">else</span> {    <span class="comment">// Timed out</span></div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160; </div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;            <span class="comment">// abandon the transaction and make it asyncronous so it will</span></div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;            <span class="comment">// clean itself up when the response finally comes in.</span></div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160; </div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;            pxi-&gt;<a class="code" href="a01821.html#aa5250ff1f63a5d1730bc299c7a96b6af">flags</a> &amp;= ~<a class="code" href="a00086.html#a2a5756b0e255d0398efa69c2d3fa9efa">XIF_SYNCHRONOUS</a>;</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;            pxi-&gt;<a class="code" href="a01821.html#aa5250ff1f63a5d1730bc299c7a96b6af">flags</a> |= <a class="code" href="a00086.html#a719adb0898e764e3a14eaaad50bf7606">XIF_ABANDONED</a>;</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160; </div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;            <span class="keywordflow">switch</span> (wType) {</div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;            <span class="keywordflow">case</span> XTYP_ADVSTART:</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;            <span class="keywordflow">case</span> XTYP_ADVSTART | XTYPF_NODATA:</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;            <span class="keywordflow">case</span> XTYP_ADVSTART | XTYPF_ACKREQ:</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;            <span class="keywordflow">case</span> XTYP_ADVSTART | XTYPF_NODATA | XTYPF_ACKREQ:</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;                <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_ADVACKTIMEOUT);</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;                <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;            <span class="keywordflow">case</span> XTYP_ADVSTOP:</div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;                <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_UNADVACKTIMEOUT);</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;                <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;            <span class="keywordflow">case</span> XTYP_EXECUTE:</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;                <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_EXECACKTIMEOUT);</div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;                <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;            <span class="keywordflow">case</span> XTYP_POKE:</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;                <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_POKEACKTIMEOUT);</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;                <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;            <span class="keywordflow">case</span> XTYP_REQUEST:</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;                <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_DATAACKTIMEOUT);</div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;                <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;            }</div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;            <span class="comment">// cleanup of pxi happens when transaction actually completes.</span></div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;        }</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;    }</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;    <span class="keywordflow">if</span> (pci-&gt;<a class="code" href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_FREE_CONV_RES_NOW) {</div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;<span class="comment">         * The conversation was terminated during the synchronous transaction</span></div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;<span class="comment">         * so we need to clean up now that we are out of the loop.</span></div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;         <a class="code" href="a00062.html#a28bd8df0f53bb221fb21ec9650866ee8">FreeConversationResources</a>((<a class="code" href="a01845.html">PCONV_INFO</a>)pci);</div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;    }</div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160; </div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;Exit:</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;<span class="comment">     * Because this API is capable of blocking DdeUninitialize(), we check</span></div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;<span class="comment">     * before exit to see if it needs to be called.</span></div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;    <span class="keywordflow">if</span> (pcii != NULL &amp;&amp;</div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;            (pcii-&gt;<a class="code" href="a01841.html#a9735d28a0381236e8c20f45a431efd55">afCmd</a> &amp; APPCMD_UNINIT_ASAP) &amp;&amp;</div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;            <span class="comment">// !(pcii-&gt;flags &amp; IIF_IN_SYNC_XACT) &amp;&amp;</span></div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;            !pcii-&gt;<a class="code" href="a01841.html#a1d2c0cdf4c98729ad5fd4ce31441175e">cInDDEMLCallback</a>) {</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;        <a class="code" href="a00083.html#a63f581f77741f505d021ff7db3884655">DdeUninitialize</a>((<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)pcii-&gt;<a class="code" href="a01841.html#a6a33ca20f90febbc42166c4466d979c2">hInstClient</a>);</div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;        hRet = 0;</div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;    }</div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;    <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;    <span class="keywordflow">return</span> (hRet);</div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00183">tagCL_INSTANCE_INFO::afCmd</a>, <a class="el" href="a00251_source.html#l01449">AllocAndSetDDEData()</a>, <a class="el" href="a00155_source.html#l00336">BestSetLastDDEMLError()</a>, <a class="el" href="a00356_source.html#l01480">CallMsgFilter()</a>, <a class="el" href="a00086_source.html#l00051">CheckDDECritOut</a>, <a class="el" href="a00086_source.html#l00223">tagCL_CONV_INFO::ci</a>, <a class="el" href="a00086_source.html#l00193">tagCL_INSTANCE_INFO::cInDDEMLCallback</a>, <a class="el" href="a00251_source.html#l00065">ClStartAdvise()</a>, <a class="el" href="a00251_source.html#l00827">ClStartExecute()</a>, <a class="el" href="a00251_source.html#l00987">ClStartPoke()</a>, <a class="el" href="a00251_source.html#l01151">ClStartRequest()</a>, <a class="el" href="a00251_source.html#l00544">ClStartUnadvise()</a>, <a class="el" href="a00158_source.html#l00650">CopyDDEData()</a>, <a class="el" href="a00155_source.html#l00075">CreateHandle()</a>, <a class="el" href="a00086_source.html#l00012">DDEMLAlloc</a>, <a class="el" href="a00086_source.html#l00014">DDEMLFree</a>, <a class="el" href="a00083_source.html#l00192">DdeUninitialize()</a>, <a class="el" href="a00155_source.html#l00137">DestroyHandle()</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00086_source.html#l00040">EnterDDECrit</a>, <a class="el" href="a00086_source.html#l00122">tagXACT_INFO::flags</a>, <a class="el" href="a00086_source.html#l00192">tagCL_INSTANCE_INFO::flags</a>, <a class="el" href="a00086_source.html#l00249">tagDDEMLDATA::flags</a>, <a class="el" href="a00062_source.html#l01343">FreeConversationResources()</a>, <a class="el" href="a00158_source.html#l00481">FreeDDEData()</a>, <a class="el" href="a00086_source.html#l00118">tagXACT_INFO::gaItem</a>, <a class="el" href="a00356_source.html#l00276">GetMessage()</a>, <a class="el" href="a00086_source.html#l00248">tagDDEMLDATA::hDDE</a>, <a class="el" href="a00086_source.html#l00125">tagXACT_INFO::hDDEResult</a>, <a class="el" href="a00086_source.html#l00124">tagXACT_INFO::hDDESent</a>, <a class="el" href="a00086_source.html#l00104">HINST_ANY</a>, <a class="el" href="a00086_source.html#l00178">tagCL_INSTANCE_INFO::hInstClient</a>, <a class="el" href="a00086_source.html#l00097">HTYPE_CLIENT_CONVERSATION</a>, <a class="el" href="a00086_source.html#l00100">HTYPE_DATA_HANDLE</a>, <a class="el" href="a00086_source.html#l00099">HTYPE_TRANSACTION</a>, <a class="el" href="a00086_source.html#l00210">tagCONV_INFO::hwndConv</a>, <a class="el" href="a00086_source.html#l00116">tagXACT_INFO::hXact</a>, <a class="el" href="a00086_source.html#l00197">IIF_IN_SYNC_XACT</a>, <a class="el" href="a00086_source.html#l00087">InstFromHandle</a>, <a class="el" href="a00158_source.html#l00087">InternalCreateDataHandle()</a>, <a class="el" href="a00086_source.html#l00061">LATOM_FROM_HSZ</a>, <a class="el" href="a00086_source.html#l00041">LeaveDDECrit</a>, <a class="el" href="a00164_source.html#l00438">LocalToGlobalAtom()</a>, <a class="el" href="a03614_source.html#l04150">NtUserKillTimer()</a>, <a class="el" href="a03614_source.html#l04749">NtUserSetTimer()</a>, <a class="el" href="a00086_source.html#l00204">tagCONV_INFO::pcii</a>, <a class="el" href="a00086_source.html#l00114">tagXACT_INFO::pcoi</a>, <a class="el" href="a00086_source.html#l00117">tagXACT_INFO::pfnResponse</a>, <a class="el" href="a00170_source.html#l00137">SetLastDDEMLError()</a>, <a class="el" href="a00086_source.html#l00211">tagCONV_INFO::state</a>, <a class="el" href="a00086_source.html#l00132">TID_TIMEOUT</a>, <a class="el" href="a00155_source.html#l00204">ValidateCHandle()</a>, <a class="el" href="a00338_source.html#l00019">tagDDE_DATA::wFmt</a>, <a class="el" href="a00086_source.html#l00119">tagXACT_INFO::wFmt</a>, <a class="el" href="a00338_source.html#l00018">tagDDE_DATA::wStatus</a>, <a class="el" href="a00086_source.html#l00121">tagXACT_INFO::wStatus</a>, <a class="el" href="a00086_source.html#l00120">tagXACT_INFO::wType</a>, <a class="el" href="a00086_source.html#l00130">XIF_ABANDONED</a>, <a class="el" href="a00086_source.html#l00129">XIF_COMPLETE</a> , 以及 <a class="el" href="a00086_source.html#l00128">XIF_SYNCHRONOUS</a>.</p>

</div>
</div>
<a id="abc903b534f2da619df537e896aa113aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc903b534f2da619df537e896aa113aa">&#9670;&nbsp;</a></span>DdePostAdvise()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL DdePostAdvise </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>idInst</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HSZ&#160;</td>
          <td class="paramname"><em>hszTopic</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HSZ&#160;</td>
          <td class="paramname"><em>hszItem</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00272_source.html">xact.c</a> 第 <a class="el" href="a00272_source.html#l00663">663</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160;{</div>
<div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160;    <a class="code" href="a01841.html">PCL_INSTANCE_INFO</a> pcii;</div>
<div class="line"><a name="l00669"></a><span class="lineno">  669</span>&#160;    <a class="code" href="a01853.html">PSVR_CONV_INFO</a> psi;</div>
<div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;    <a class="code" href="a01821.html">PXACT_INFO</a> pxi;</div>
<div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;    <a class="code" href="a01825.html">PADVISE_LINK</a> paLink;</div>
<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;    BOOL fRet = FALSE, fSwapped, fFound;</div>
<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;    <span class="keywordtype">int</span> iServer, iLink;</div>
<div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;    <a class="code" href="a01837.html">PLINK_COUNT</a> pLinkCount;</div>
<div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160; </div>
<div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;    <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160; </div>
<div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160;    pcii = <a class="code" href="a00086.html#a79511ee28e1a1b4843ee182f03a7f975">ValidateInstance</a>((HANDLE)idInst);</div>
<div class="line"><a name="l00679"></a><span class="lineno">  679</span>&#160;    <span class="keywordflow">if</span> (pcii == NULL) {</div>
<div class="line"><a name="l00680"></a><span class="lineno">  680</span>&#160;        <a class="code" href="a00086.html#a6e665e4ec7d374d1438e7970fb02d47c">BestSetLastDDEMLError</a>(DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00681"></a><span class="lineno">  681</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;    }</div>
<div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;    <span class="keywordflow">if</span> ((<a class="code" href="a00086.html#ab4b8799817dd461e619a02ba50744fca">ValidateHSZ</a>(hszTopic) == <a class="code" href="a00086.html#a5fdfc9c14ae2a16615114c2ad79bd609">HSZT_INVALID</a>) ||</div>
<div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;            (<a class="code" href="a00086.html#ab4b8799817dd461e619a02ba50744fca">ValidateHSZ</a>(hszItem) == <a class="code" href="a00086.html#a5fdfc9c14ae2a16615114c2ad79bd609">HSZT_INVALID</a>)) {</div>
<div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;        <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;    }</div>
<div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160; </div>
<div class="line"><a name="l00689"></a><span class="lineno">  689</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;<span class="comment">     * Initialize all link counters and check if any links qualify</span></div>
<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;    fFound = FALSE;</div>
<div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;    <span class="keywordflow">for</span> (pLinkCount = pcii-&gt;<a class="code" href="a01841.html#a7f12cb41f151ba20c6052876aa458d00">pLinkCount</a>;</div>
<div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;            pLinkCount; pLinkCount = pLinkCount-&gt;<a class="code" href="a01837.html#abaf3237b7c439f6952526fe04044ee9e">next</a>) {</div>
<div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;        pLinkCount-&gt;<a class="code" href="a01837.html#a32dda772d5b26adbb6086b12a627bdd0">Count</a> = pLinkCount-&gt;<a class="code" href="a01837.html#a23a1038dcd2d6049ff910addc32d4934">Total</a>;</div>
<div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;        fFound |= pLinkCount-&gt;<a class="code" href="a01837.html#a037642095df06ec39ad1a904cc1f7c30">laTopic</a> == <a class="code" href="a00086.html#a4ef5faecf33ead428f95c9e93ef1ef4d">LATOM_FROM_HSZ</a>(hszTopic) &amp;&amp;</div>
<div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160;                  pLinkCount-&gt;<a class="code" href="a01837.html#a491330cc2632c738dbfac1d6393eedb6">laItem</a> == <a class="code" href="a00086.html#a4ef5faecf33ead428f95c9e93ef1ef4d">LATOM_FROM_HSZ</a>(hszItem);</div>
<div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160;    }</div>
<div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;    <span class="keywordflow">if</span> (!fFound &amp;&amp; hszTopic &amp;&amp; hszItem) {</div>
<div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;        fRet = TRUE;</div>
<div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;    }</div>
<div class="line"><a name="l00703"></a><span class="lineno">  703</span>&#160; </div>
<div class="line"><a name="l00704"></a><span class="lineno">  704</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160;<span class="comment">     * preallocate incase we are low on memory.</span></div>
<div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;    pxi = <a class="code" href="a00086.html#acc904eaf46cb98fa7741658d8e00f06c">DDEMLAlloc</a>(<span class="keyword">sizeof</span>(<a class="code" href="a01821.html">XACT_INFO</a>));</div>
<div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;    <span class="keywordflow">if</span> (pxi == NULL) {</div>
<div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;        <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_MEMORY_ERROR);</div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;        fRet = FALSE;</div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;    }</div>
<div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160; </div>
<div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;<span class="comment">     * For each server window on the specified topic</span></div>
<div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;    <span class="keywordflow">for</span> (iServer = 0; iServer &lt; pcii-&gt;<a class="code" href="a01841.html#a08eff0aa356c1605fcfdc40a6a29b25d">cServerLookupAlloc</a>; iServer++) {</div>
<div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;        <span class="keywordflow">if</span> (hszTopic == 0 ||</div>
<div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;                pcii-&gt;<a class="code" href="a01841.html#adafcae37e57d97d2af3f070bd1042375">aServerLookup</a>[iServer].<a class="code" href="a01833.html#a037642095df06ec39ad1a904cc1f7c30">laTopic</a> == <a class="code" href="a00086.html#a4ef5faecf33ead428f95c9e93ef1ef4d">LATOM_FROM_HSZ</a>(hszTopic)) {</div>
<div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160; </div>
<div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;<span class="comment">             * For each conversation within that window</span></div>
<div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160;            psi = (<a class="code" href="a00086.html#a67bbd37f9d5db25a888e23b68f00abe9">PSVR_CONV_INFO</a>)GetWindowLong(</div>
<div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;                    pcii-&gt;<a class="code" href="a01841.html#adafcae37e57d97d2af3f070bd1042375">aServerLookup</a>[iServer].<a class="code" href="a01833.html#a45847fad972270155c58f8ca1db7c5c9">hwndServer</a>, GWL_PSI);</div>
<div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;            <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(psi != NULL &amp;&amp; psi-&gt;<a class="code" href="a01853.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#ac54e3b685e73c03228d890f651895a84">pcii</a> == pcii);    <span class="comment">// sanity check</span></div>
<div class="line"><a name="l00727"></a><span class="lineno">  727</span>&#160;            <span class="keywordflow">while</span> (psi != NULL) {</div>
<div class="line"><a name="l00728"></a><span class="lineno">  728</span>&#160; </div>
<div class="line"><a name="l00729"></a><span class="lineno">  729</span>&#160;                <span class="comment">/*</span></div>
<div class="line"><a name="l00730"></a><span class="lineno">  730</span>&#160;<span class="comment">                 * For each active link on the given item...</span></div>
<div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;<span class="comment">                 */</span></div>
<div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;                <span class="keywordflow">for</span> (paLink = psi-&gt;<a class="code" href="a01853.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#abd6ddc0ca811ba45f97e1052e24c92f7">aLinks</a>, iLink = psi-&gt;<a class="code" href="a01853.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#abb1c8670b152a59cef661dba09b0d09a">cLinks</a>;</div>
<div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160;                        iLink; paLink++, iLink--) {</div>
<div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;                    <span class="keywordflow">if</span> (hszItem == 0 ||</div>
<div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;                            paLink-&gt;<a class="code" href="a01825.html#a491330cc2632c738dbfac1d6393eedb6">laItem</a> == <a class="code" href="a00086.html#a4ef5faecf33ead428f95c9e93ef1ef4d">LATOM_FROM_HSZ</a>(hszItem)) {</div>
<div class="line"><a name="l00736"></a><span class="lineno">  736</span>&#160; </div>
<div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;<span class="comment">// Bit of a hack here. For FACKREQ links, we don&#39;t want the server to</span></div>
<div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;<span class="comment">// outrun the client so we set the ADVST_WAITING bit till the ack is</span></div>
<div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;<span class="comment">// received. When the ack comes in, the protocol code has to search</span></div>
<div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;<span class="comment">// the aLinks array again to locate the apropriate link state flags and</span></div>
<div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;<span class="comment">// clear the ADVST_WAITING flag. At that time, if the ADVST_CHANGED flag</span></div>
<div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;<span class="comment">// is set, it is cleared and another SvStartAdviseUpdate transaction</span></div>
<div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;<span class="comment">// is started to get the link up to date.  To complicate matters,</span></div>
<div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;<span class="comment">// the ACK contains no format information.  Thus we need to move</span></div>
<div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;<span class="comment">// the Link info to the end of the list so that the right format</span></div>
<div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;<span class="comment">// is updated when the ack comes in.</span></div>
<div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160; </div>
<div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160;                        paLink-&gt;<a class="code" href="a01825.html#a5d717a64978f34c9afb8ae23374160a0">state</a> |= <a class="code" href="a00086.html#aacfa33437b9eeb369a6cb7e267094f67">ADVST_CHANGED</a>;</div>
<div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160;                        <span class="keywordflow">if</span> (<a class="code" href="a00272.html#a23e4005eb40215f2d10dcbc3d28c7035">UpdateLinkIfChanged</a>(paLink, pxi, &amp;psi-&gt;<a class="code" href="a01853.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>,</div>
<div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;                                &amp;psi-&gt;<a class="code" href="a01853.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#abd6ddc0ca811ba45f97e1052e24c92f7">aLinks</a>[psi-&gt;<a class="code" href="a01853.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#abb1c8670b152a59cef661dba09b0d09a">cLinks</a> - 1],</div>
<div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;                                &amp;fSwapped, --paLink-&gt;<a class="code" href="a01825.html#ada696c68d610d9735c5f59302d2955ae">pLinkCount</a>-&gt;<a class="code" href="a01837.html#a32dda772d5b26adbb6086b12a627bdd0">Count</a>)) {</div>
<div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;                            <span class="keywordflow">if</span> (fSwapped) {</div>
<div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160;                                paLink--;</div>
<div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;                            }</div>
<div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;                            <span class="comment">/*</span></div>
<div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;<span class="comment">                             * preallocate for next advise</span></div>
<div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;<span class="comment">                             */</span></div>
<div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;                            pxi = <a class="code" href="a00086.html#acc904eaf46cb98fa7741658d8e00f06c">DDEMLAlloc</a>(<span class="keyword">sizeof</span>(<a class="code" href="a01821.html">XACT_INFO</a>));</div>
<div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;                            <span class="keywordflow">if</span> (pxi == NULL) {</div>
<div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;                                <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcii, DMLERR_MEMORY_ERROR);</div>
<div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;                                <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;                            }</div>
<div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;                        }</div>
<div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;                    }</div>
<div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;                }</div>
<div class="line"><a name="l00766"></a><span class="lineno">  766</span>&#160;                psi = (<a class="code" href="a00086.html#a67bbd37f9d5db25a888e23b68f00abe9">PSVR_CONV_INFO</a>)psi-&gt;<a class="code" href="a01853.html#a32c7595834535b04b8e88dd6ddb09d47">ci</a>.<a class="code" href="a01845.html#a6f9fff70be46542c217424f5f415821a">next</a>;     <span class="comment">// next conversation</span></div>
<div class="line"><a name="l00767"></a><span class="lineno">  767</span>&#160;            }</div>
<div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;        }</div>
<div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;    }</div>
<div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;    <a class="code" href="a00086.html#a14b7b2abd485b184293dcd3d34c29e23">DDEMLFree</a>(pxi);</div>
<div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;    fRet = TRUE;</div>
<div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160; </div>
<div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;Exit:</div>
<div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;<span class="comment">     * Because callbacks are capable of blocking DdeUninitialize(), we check</span></div>
<div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;<span class="comment">     * before exit to see if it needs to be called.</span></div>
<div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;    <span class="keywordflow">if</span> (pcii != NULL &amp;&amp;</div>
<div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160;            pcii-&gt;<a class="code" href="a01841.html#a9735d28a0381236e8c20f45a431efd55">afCmd</a> &amp; APPCMD_UNINIT_ASAP &amp;&amp;</div>
<div class="line"><a name="l00780"></a><span class="lineno">  780</span>&#160;            !(pcii-&gt;<a class="code" href="a01841.html#aa5250ff1f63a5d1730bc299c7a96b6af">flags</a> &amp; <a class="code" href="a00086.html#add6653a51a00a0e50834527371a62c7d">IIF_IN_SYNC_XACT</a>) &amp;&amp;</div>
<div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;            !pcii-&gt;<a class="code" href="a01841.html#a1d2c0cdf4c98729ad5fd4ce31441175e">cInDDEMLCallback</a>) {</div>
<div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;        <a class="code" href="a00083.html#a63f581f77741f505d021ff7db3884655">DdeUninitialize</a>((<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)pcii-&gt;<a class="code" href="a01841.html#a6a33ca20f90febbc42166c4466d979c2">hInstClient</a>);</div>
<div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;        fRet = TRUE;</div>
<div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;    }</div>
<div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;    <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;    <span class="keywordflow">return</span> (fRet);</div>
<div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00146">ADVST_CHANGED</a>, <a class="el" href="a00086_source.html#l00183">tagCL_INSTANCE_INFO::afCmd</a>, <a class="el" href="a00086_source.html#l00217">tagCONV_INFO::aLinks</a>, <a class="el" href="a00086_source.html#l00189">tagCL_INSTANCE_INFO::aServerLookup</a>, <a class="el" href="a00155_source.html#l00336">BestSetLastDDEMLError()</a>, <a class="el" href="a00086_source.html#l00229">tagSVR_CONV_INFO::ci</a>, <a class="el" href="a00086_source.html#l00193">tagCL_INSTANCE_INFO::cInDDEMLCallback</a>, <a class="el" href="a00086_source.html#l00218">tagCONV_INFO::cLinks</a>, <a class="el" href="a00086_source.html#l00172">tagLINK_COUNT::Count</a>, <a class="el" href="a00086_source.html#l00190">tagCL_INSTANCE_INFO::cServerLookupAlloc</a>, <a class="el" href="a00086_source.html#l00012">DDEMLAlloc</a>, <a class="el" href="a00086_source.html#l00014">DDEMLFree</a>, <a class="el" href="a00083_source.html#l00192">DdeUninitialize()</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00086_source.html#l00040">EnterDDECrit</a>, <a class="el" href="a00086_source.html#l00192">tagCL_INSTANCE_INFO::flags</a>, <a class="el" href="a00086_source.html#l00178">tagCL_INSTANCE_INFO::hInstClient</a>, <a class="el" href="a00086_source.html#l00057">HSZT_INVALID</a>, <a class="el" href="a00086_source.html#l00162">tagSERVER_LOOKUP::hwndServer</a>, <a class="el" href="a00086_source.html#l00197">IIF_IN_SYNC_XACT</a>, <a class="el" href="a00086_source.html#l00139">tagADVISE_LINK::laItem</a>, <a class="el" href="a00086_source.html#l00169">tagLINK_COUNT::laItem</a>, <a class="el" href="a00086_source.html#l00061">LATOM_FROM_HSZ</a>, <a class="el" href="a00086_source.html#l00161">tagSERVER_LOOKUP::laTopic</a>, <a class="el" href="a00086_source.html#l00167">tagLINK_COUNT::laTopic</a>, <a class="el" href="a00086_source.html#l00041">LeaveDDECrit</a>, <a class="el" href="a00086_source.html#l00166">tagLINK_COUNT::next</a>, <a class="el" href="a00086_source.html#l00203">tagCONV_INFO::next</a>, <a class="el" href="a00086_source.html#l00204">tagCONV_INFO::pcii</a>, <a class="el" href="a00086_source.html#l00138">tagADVISE_LINK::pLinkCount</a>, <a class="el" href="a00086_source.html#l00194">tagCL_INSTANCE_INFO::pLinkCount</a>, <a class="el" href="a00170_source.html#l00137">SetLastDDEMLError()</a>, <a class="el" href="a00086_source.html#l00142">tagADVISE_LINK::state</a>, <a class="el" href="a00086_source.html#l00171">tagLINK_COUNT::Total</a>, <a class="el" href="a00272_source.html#l00609">UpdateLinkIfChanged()</a>, <a class="el" href="a00950_source.html#l00117">UserAssert</a>, <a class="el" href="a00164_source.html#l00340">ValidateHSZ()</a> , 以及 <a class="el" href="a00170_source.html#l00111">ValidateInstance()</a>.</p>

</div>
</div>
<a id="ad324a104ff1081c5a18fdbec308387e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad324a104ff1081c5a18fdbec308387e4">&#9670;&nbsp;</a></span>DdeQueryConvInfo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> DdeQueryConvInfo </td>
          <td>(</td>
          <td class="paramtype">HCONV&#160;</td>
          <td class="paramname"><em>hConv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>idTransaction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PCONVINFO&#160;</td>
          <td class="paramname"><em>pConvInfo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00272_source.html">xact.c</a> 第 <a class="el" href="a00272_source.html#l00409">409</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160;{</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;    <a class="code" href="a01845.html">PCONV_INFO</a> pcoi;</div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;    <a class="code" href="a01821.html">PXACT_INFO</a> pxi;</div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;    CONVINFO ci;</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> uiRet = 0;</div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160; </div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;    <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160; </div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="a00272.html#a6b737e544221f0da4c09fe14a5e64aa4">ValidateTransaction</a>(hConv, (HANDLE)idTransaction, &amp;pcoi, &amp;pxi)) {</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;    }</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160; </div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;    <span class="keywordflow">try</span> {</div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;        <span class="keywordflow">if</span> (pConvInfo-&gt;cb &gt; <span class="keyword">sizeof</span>(CONVINFO)) {</div>
<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;            <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcoi-&gt;<a class="code" href="a01845.html#ac54e3b685e73c03228d890f651895a84">pcii</a>, DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;            <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;        }</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;        ci.cb = pConvInfo-&gt;cb;</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;        ci.hConvPartner = 0; <span class="comment">// no longer supported.</span></div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;        ci.hszSvcPartner = <a class="code" href="a00086.html#a8ec365b8e8550c587aadd14daeb84b2b">NORMAL_HSZ_FROM_LATOM</a>(pcoi-&gt;<a class="code" href="a01845.html#a5234fbd6988274cd28565970f54a110c">laService</a>);</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;        ci.hszServiceReq = <a class="code" href="a00086.html#a8ec365b8e8550c587aadd14daeb84b2b">NORMAL_HSZ_FROM_LATOM</a>(pcoi-&gt;<a class="code" href="a01845.html#a9a66c3e7ae56e5adf407e16f01a76676">laServiceRequested</a>);</div>
<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;        ci.hszTopic = <a class="code" href="a00086.html#a8ec365b8e8550c587aadd14daeb84b2b">NORMAL_HSZ_FROM_LATOM</a>(pcoi-&gt;<a class="code" href="a01845.html#a037642095df06ec39ad1a904cc1f7c30">laTopic</a>);</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;        ci.wStatus = pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a>;</div>
<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;        ci.wLastError = (WORD)pcoi-&gt;<a class="code" href="a01845.html#ac54e3b685e73c03228d890f651895a84">pcii</a>-&gt;<a class="code" href="a01841.html#a4adee47baa975d0bf7a9293f02dd1f8d">LastError</a>;</div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;        if (pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_CLIENT) {</div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;            ci.hConvList = ((<a class="code" href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a>)pcoi)-&gt;hConvList;</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;            <a class="code" href="a00272.html#aa23a5781d2648130b7fe700b25e3b157">GetConvContext</a>(pcoi-&gt;<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a>, (LONG *)&amp;ci.ConvCtxt);</div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;            ci.hConvList = 0;</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;            <span class="keywordflow">if</span> (pcoi-&gt;<a class="code" href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; ST_ISLOCAL) {</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;                <a class="code" href="a00272.html#aa23a5781d2648130b7fe700b25e3b157">GetConvContext</a>(pcoi-&gt;<a class="code" href="a01845.html#ab633a373034405937a22e9d2c0cbf4ad">hwndPartner</a>, (LONG *)&amp;ci.ConvCtxt);</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;            } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;                ci.ConvCtxt = <a class="code" href="a00062.html#addc35586476828be0ae63df36451855f">DefConvContext</a>;</div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;            }</div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;        }</div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;        <span class="keywordflow">if</span> (pxi == NULL) {</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;            ci.hUser = pcoi-&gt;<a class="code" href="a01845.html#a9a645983c1194ebc1b5ba2410a5aba7b">hUser</a>;</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;            ci.hszItem = 0;</div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;            ci.wFmt = 0;</div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;            ci.wType = 0;</div>
<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;            ci.wConvst = XST_CONNECTED;</div>
<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;            ci.hUser = pxi-&gt;<a class="code" href="a01821.html#a9a645983c1194ebc1b5ba2410a5aba7b">hUser</a>;</div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;            <span class="comment">// BUG - not fixable - This will result in extra local atoms</span></div>
<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;            <span class="comment">// since we can never know when he is done with them.</span></div>
<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;            ci.hszItem = <a class="code" href="a00086.html#a8ec365b8e8550c587aadd14daeb84b2b">NORMAL_HSZ_FROM_LATOM</a>(<a class="code" href="a00086.html#a74f36efd1711016cbf41427811c2edea">GlobalToLocalAtom</a>(pxi-&gt;<a class="code" href="a01821.html#ad0b56899c2df27096898ccce24547723">gaItem</a>));</div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;            ci.wFmt = pxi-&gt;<a class="code" href="a01821.html#ac6ac629d505432bedeb5cb3b7123ac98">wFmt</a>;</div>
<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;            ci.wType = pxi-&gt;<a class="code" href="a01821.html#aedf49a5424d4d9ad2cf1817a726c165f">wType</a>;</div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;            ci.wConvst = pxi-&gt;<a class="code" href="a01821.html#a5d717a64978f34c9afb8ae23374160a0">state</a>;</div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;        }</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;        ci.hwnd = pcoi-&gt;<a class="code" href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">hwndConv</a>;</div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;        ci.hwndPartner = pcoi-&gt;<a class="code" href="a01845.html#ab633a373034405937a22e9d2c0cbf4ad">hwndPartner</a>;</div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;        RtlCopyMemory((LPSTR)pConvInfo, (LPSTR)&amp;ci, pConvInfo-&gt;cb);</div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;    } except(EXCEPTION_EXECUTE_HANDLER) {</div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;        <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>(pcoi-&gt;<a class="code" href="a01845.html#ac54e3b685e73c03228d890f651895a84">pcii</a>, DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;    }</div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;    uiRet = TRUE;</div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160; </div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;Exit:</div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;    <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;    <span class="keywordflow">return</span> (uiRet);</div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00062_source.html#l00105">DefConvContext</a>, <a class="el" href="a00086_source.html#l00040">EnterDDECrit</a>, <a class="el" href="a00086_source.html#l00118">tagXACT_INFO::gaItem</a>, <a class="el" href="a00272_source.html#l00366">GetConvContext()</a>, <a class="el" href="a00164_source.html#l00464">GlobalToLocalAtom()</a>, <a class="el" href="a00086_source.html#l00115">tagXACT_INFO::hUser</a>, <a class="el" href="a00086_source.html#l00205">tagCONV_INFO::hUser</a>, <a class="el" href="a00086_source.html#l00210">tagCONV_INFO::hwndConv</a>, <a class="el" href="a00086_source.html#l00209">tagCONV_INFO::hwndPartner</a>, <a class="el" href="a00086_source.html#l00207">tagCONV_INFO::laService</a>, <a class="el" href="a00086_source.html#l00212">tagCONV_INFO::laServiceRequested</a>, <a class="el" href="a00086_source.html#l00185">tagCL_INSTANCE_INFO::LastError</a>, <a class="el" href="a00086_source.html#l00208">tagCONV_INFO::laTopic</a>, <a class="el" href="a00086_source.html#l00041">LeaveDDECrit</a>, <a class="el" href="a00086_source.html#l00062">NORMAL_HSZ_FROM_LATOM</a>, <a class="el" href="a00086_source.html#l00204">tagCONV_INFO::pcii</a>, <a class="el" href="a00170_source.html#l00137">SetLastDDEMLError()</a>, <a class="el" href="a00086_source.html#l00123">tagXACT_INFO::state</a>, <a class="el" href="a00086_source.html#l00211">tagCONV_INFO::state</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT()</a>, <a class="el" href="a00272_source.html#l00863">ValidateTransaction()</a>, <a class="el" href="a00086_source.html#l00119">tagXACT_INFO::wFmt</a> , 以及 <a class="el" href="a00086_source.html#l00120">tagXACT_INFO::wType</a>.</p>

</div>
</div>
<a id="a57ddf7d973c9c1c556cb962735addbc5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57ddf7d973c9c1c556cb962735addbc5">&#9670;&nbsp;</a></span>DdeSetUserHandle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL DdeSetUserHandle </td>
          <td>(</td>
          <td class="paramtype">HCONV&#160;</td>
          <td class="paramname"><em>hConv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>hUser</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00272_source.html">xact.c</a> 第 <a class="el" href="a00272_source.html#l00487">487</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;{</div>
<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;    <a class="code" href="a01845.html">PCONV_INFO</a> pcoi;</div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;    <a class="code" href="a01821.html">PXACT_INFO</a> pxi;</div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;    BOOL fRet = FALSE;</div>
<div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160; </div>
<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;    <a class="code" href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a>;</div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160; </div>
<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="a00272.html#a6b737e544221f0da4c09fe14a5e64aa4">ValidateTransaction</a>(hConv, (HANDLE)<span class="keywordtype">id</span>, &amp;pcoi, &amp;pxi)) {</div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;        <span class="keywordflow">goto</span> Exit;</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;    }</div>
<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;    <span class="keywordflow">if</span> (pxi == NULL) {</div>
<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;        pcoi-&gt;<a class="code" href="a01845.html#a9a645983c1194ebc1b5ba2410a5aba7b">hUser</a> = hUser;</div>
<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;        pxi-&gt;<a class="code" href="a01821.html#a9a645983c1194ebc1b5ba2410a5aba7b">hUser</a> = hUser;</div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;    }</div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;    fRet = TRUE;</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160; </div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;Exit:</div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;    <a class="code" href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a>;</div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;    <span class="keywordflow">return</span> (fRet);</div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00040">EnterDDECrit</a>, <a class="el" href="a00086_source.html#l00115">tagXACT_INFO::hUser</a>, <a class="el" href="a00086_source.html#l00205">tagCONV_INFO::hUser</a>, <a class="el" href="a00086_source.html#l00041">LeaveDDECrit</a> , 以及 <a class="el" href="a00272_source.html#l00863">ValidateTransaction()</a>.</p>

</div>
</div>
<a id="aa23a5781d2648130b7fe700b25e3b157"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa23a5781d2648130b7fe700b25e3b157">&#9670;&nbsp;</a></span>GetConvContext()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID GetConvContext </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LONG *&#160;</td>
          <td class="paramname"><em>pl</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00272_source.html">xact.c</a> 第 <a class="el" href="a00272_source.html#l00366">366</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;{</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;    <span class="keywordtype">int</span> i;</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160; </div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;    <span class="keywordflow">for</span> (i = 0; i &lt; <span class="keyword">sizeof</span>(CONVCONTEXT); i += 4) {</div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;        *pl++ = GetWindowLong(hwnd, GWL_CONVCONTEXT + i);</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;    }</div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">被这些函数引用 <a class="el" href="a00272_source.html#l00409">DdeQueryConvInfo()</a>, <a class="el" href="a00062_source.html#l00407">DdeReconnect()</a> , 以及 <a class="el" href="a00089_source.html#l00057">ProcessDDEMLInitiate()</a>.</p>

</div>
</div>
<a id="a89bdce114c4b9e3cfb093133493e3e9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89bdce114c4b9e3cfb093133493e3e9c">&#9670;&nbsp;</a></span>LinkTransaction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID LinkTransaction </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00086.html#a908a74e7a82f658e6725be8a2891f24e">PXACT_INFO</a>&#160;</td>
          <td class="paramname"><em>pxi</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00272_source.html">xact.c</a> 第 <a class="el" href="a00272_source.html#l00800">800</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00802"></a><span class="lineno">  802</span>&#160;{</div>
<div class="line"><a name="l00803"></a><span class="lineno">  803</span>&#160;    <a class="code" href="a00086.html#ac64721bd6049de0997fb056a93022b8e">CheckDDECritIn</a>;</div>
<div class="line"><a name="l00804"></a><span class="lineno">  804</span>&#160; </div>
<div class="line"><a name="l00805"></a><span class="lineno">  805</span>&#160;    pxi-&gt;<a class="code" href="a01821.html#a153d6c3a56fb1f036b945c7eb58bfe27">next</a> = NULL;</div>
<div class="line"><a name="l00806"></a><span class="lineno">  806</span>&#160;    <span class="keywordflow">if</span> (pxi-&gt;<a class="code" href="a01821.html#a05a65f9f292bfebcf667b325200292f0">pcoi</a>-&gt;<a class="code" href="a01845.html#ae2f75489761175d860578ce7ebf48913">pxiOut</a> == NULL) {</div>
<div class="line"><a name="l00807"></a><span class="lineno">  807</span>&#160;        pxi-&gt;<a class="code" href="a01821.html#a05a65f9f292bfebcf667b325200292f0">pcoi</a>-&gt;<a class="code" href="a01845.html#a75a4f922bf2ce728600db75f33c697bf">pxiIn</a> = pxi-&gt;<a class="code" href="a01821.html#a05a65f9f292bfebcf667b325200292f0">pcoi</a>-&gt;<a class="code" href="a01845.html#ae2f75489761175d860578ce7ebf48913">pxiOut</a> = pxi;</div>
<div class="line"><a name="l00808"></a><span class="lineno">  808</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00809"></a><span class="lineno">  809</span>&#160;        pxi-&gt;<a class="code" href="a01821.html#a05a65f9f292bfebcf667b325200292f0">pcoi</a>-&gt;<a class="code" href="a01845.html#a75a4f922bf2ce728600db75f33c697bf">pxiIn</a>-&gt;<a class="code" href="a01821.html#a153d6c3a56fb1f036b945c7eb58bfe27">next</a> = pxi;</div>
<div class="line"><a name="l00810"></a><span class="lineno">  810</span>&#160;        pxi-&gt;<a class="code" href="a01821.html#a05a65f9f292bfebcf667b325200292f0">pcoi</a>-&gt;<a class="code" href="a01845.html#a75a4f922bf2ce728600db75f33c697bf">pxiIn</a> = pxi;</div>
<div class="line"><a name="l00811"></a><span class="lineno">  811</span>&#160;    }</div>
<div class="line"><a name="l00812"></a><span class="lineno">  812</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;<span class="comment">     * Temporary check to find stress bug - make sure pxi list is not</span></div>
<div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;<span class="comment">     * looped on itself.  If it is, this loop will never exit and things</span></div>
<div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;<span class="comment">     * will get investigated. (sanfords)</span></div>
<div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;    {</div>
<div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;        <a class="code" href="a01821.html">PXACT_INFO</a> pxiT;</div>
<div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160; </div>
<div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;        <span class="keywordflow">for</span> (pxiT = pxi-&gt;<a class="code" href="a01821.html#a05a65f9f292bfebcf667b325200292f0">pcoi</a>-&gt;<a class="code" href="a01845.html#ae2f75489761175d860578ce7ebf48913">pxiOut</a>; pxiT != NULL; pxiT = pxiT-&gt;<a class="code" href="a01821.html#a153d6c3a56fb1f036b945c7eb58bfe27">next</a>) {</div>
<div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160;            ;</div>
<div class="line"><a name="l00823"></a><span class="lineno">  823</span>&#160;        }</div>
<div class="line"><a name="l00824"></a><span class="lineno">  824</span>&#160;    }</div>
<div class="line"><a name="l00825"></a><span class="lineno">  825</span>&#160;<span class="preprocessor">#endif // DEBUG</span></div>
<div class="line"><a name="l00826"></a><span class="lineno">  826</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00050">CheckDDECritIn</a>, <a class="el" href="a00086_source.html#l00113">tagXACT_INFO::next</a>, <a class="el" href="a00086_source.html#l00114">tagXACT_INFO::pcoi</a>, <a class="el" href="a00086_source.html#l00213">tagCONV_INFO::pxiIn</a> , 以及 <a class="el" href="a00086_source.html#l00214">tagCONV_INFO::pxiOut</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00251_source.html#l00065">ClStartAdvise()</a>, <a class="el" href="a00251_source.html#l00827">ClStartExecute()</a>, <a class="el" href="a00251_source.html#l00987">ClStartPoke()</a>, <a class="el" href="a00251_source.html#l01151">ClStartRequest()</a>, <a class="el" href="a00251_source.html#l00544">ClStartUnadvise()</a> , 以及 <a class="el" href="a00251_source.html#l00261">SvStartAdviseUpdate()</a>.</p>

</div>
</div>
<a id="a0924c97489b4d0575965f05d497a7142"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0924c97489b4d0575965f05d497a7142">&#9670;&nbsp;</a></span>SetConvContext()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID SetConvContext </td>
          <td>(</td>
          <td class="paramtype">HWND&#160;</td>
          <td class="paramname"><em>hwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LONG *&#160;</td>
          <td class="paramname"><em>pl</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00272_source.html">xact.c</a> 第 <a class="el" href="a00272_source.html#l00385">385</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;{</div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;    <span class="keywordtype">int</span> i;</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160; </div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;    <span class="keywordflow">for</span> (i = 0; i &lt; <span class="keyword">sizeof</span>(CONVCONTEXT); i += 4) {</div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;        SetWindowLong(hwnd, GWL_CONVCONTEXT + i, *pl++);</div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;    }</div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">被这些函数引用 <a class="el" href="a00062_source.html#l00605">ConnectConv()</a>.</p>

</div>
</div>
<a id="aeaa3db47eb42dd9d269b0634f2c9246d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeaa3db47eb42dd9d269b0634f2c9246d">&#9670;&nbsp;</a></span>UnlinkTransaction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID UnlinkTransaction </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00086.html#a908a74e7a82f658e6725be8a2891f24e">PXACT_INFO</a>&#160;</td>
          <td class="paramname"><em>pxi</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00272_source.html">xact.c</a> 第 <a class="el" href="a00272_source.html#l00839">839</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;{</div>
<div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160;    <a class="code" href="a00086.html#ac64721bd6049de0997fb056a93022b8e">CheckDDECritIn</a>;</div>
<div class="line"><a name="l00843"></a><span class="lineno">  843</span>&#160;    <span class="keywordflow">if</span> (pxi == pxi-&gt;<a class="code" href="a01821.html#a05a65f9f292bfebcf667b325200292f0">pcoi</a>-&gt;<a class="code" href="a01845.html#ae2f75489761175d860578ce7ebf48913">pxiOut</a>) {</div>
<div class="line"><a name="l00844"></a><span class="lineno">  844</span>&#160;        pxi-&gt;<a class="code" href="a01821.html#a05a65f9f292bfebcf667b325200292f0">pcoi</a>-&gt;<a class="code" href="a01845.html#ae2f75489761175d860578ce7ebf48913">pxiOut</a> = pxi-&gt;<a class="code" href="a01821.html#a153d6c3a56fb1f036b945c7eb58bfe27">next</a>;</div>
<div class="line"><a name="l00845"></a><span class="lineno">  845</span>&#160;        <span class="keywordflow">if</span> (pxi-&gt;<a class="code" href="a01821.html#a153d6c3a56fb1f036b945c7eb58bfe27">next</a> == NULL) {</div>
<div class="line"><a name="l00846"></a><span class="lineno">  846</span>&#160;            pxi-&gt;<a class="code" href="a01821.html#a05a65f9f292bfebcf667b325200292f0">pcoi</a>-&gt;<a class="code" href="a01845.html#a75a4f922bf2ce728600db75f33c697bf">pxiIn</a> = NULL;</div>
<div class="line"><a name="l00847"></a><span class="lineno">  847</span>&#160;        }</div>
<div class="line"><a name="l00848"></a><span class="lineno">  848</span>&#160;    }</div>
<div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00050">CheckDDECritIn</a>, <a class="el" href="a00086_source.html#l00113">tagXACT_INFO::next</a>, <a class="el" href="a00086_source.html#l00114">tagXACT_INFO::pcoi</a>, <a class="el" href="a00086_source.html#l00213">tagCONV_INFO::pxiIn</a> , 以及 <a class="el" href="a00086_source.html#l00214">tagCONV_INFO::pxiOut</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00251_source.html#l00188">ClRespAdviseAck()</a>, <a class="el" href="a00251_source.html#l00933">ClRespExecuteAck()</a>, <a class="el" href="a00251_source.html#l01091">ClRespPokeAck()</a>, <a class="el" href="a00251_source.html#l01269">ClRespRequestData()</a>, <a class="el" href="a00251_source.html#l00702">ClRespUnadviseAck()</a>, <a class="el" href="a00251_source.html#l00468">SvRespAdviseDataAck()</a> , 以及 <a class="el" href="a00251_source.html#l01576">TransactionComplete()</a>.</p>

</div>
</div>
<a id="a23e4005eb40215f2d10dcbc3d28c7035"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23e4005eb40215f2d10dcbc3d28c7035">&#9670;&nbsp;</a></span>UpdateLinkIfChanged()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL UpdateLinkIfChanged </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00086.html#a164117241c775958fe49a399fda44d81">PADVISE_LINK</a>&#160;</td>
          <td class="paramname"><em>paLink</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00086.html#a908a74e7a82f658e6725be8a2891f24e">PXACT_INFO</a>&#160;</td>
          <td class="paramname"><em>pxi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a>&#160;</td>
          <td class="paramname"><em>pcoi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00086.html#a164117241c775958fe49a399fda44d81">PADVISE_LINK</a>&#160;</td>
          <td class="paramname"><em>paLinkLast</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PBOOL&#160;</td>
          <td class="paramname"><em>pfSwapped</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>cLinksToGo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00272_source.html">xact.c</a> 第 <a class="el" href="a00272_source.html#l00609">609</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;{</div>
<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;    <a class="code" href="a01825.html">ADVISE_LINK</a> aLinkT;</div>
<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160; </div>
<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;    <a class="code" href="a00086.html#ac64721bd6049de0997fb056a93022b8e">CheckDDECritIn</a>;</div>
<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160; </div>
<div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;    *pfSwapped = FALSE;</div>
<div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;    <span class="keywordflow">if</span> (paLink-&gt;<a class="code" href="a01825.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; <a class="code" href="a00086.html#aacfa33437b9eeb369a6cb7e267094f67">ADVST_CHANGED</a> &amp;&amp; !(paLink-&gt;<a class="code" href="a01825.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp; <a class="code" href="a00086.html#aaae87bfcfd8d2ae37589f93344fa6d6d">ADVST_WAITING</a>)) {</div>
<div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;        pxi-&gt;<a class="code" href="a01821.html#a3e72a0d3f2894bdf7fea52a56128e0e5">pfnResponse</a> = <a class="code" href="a00086.html#a10a38c099efa84aee9f17633723e5888">SvRespAdviseDataAck</a>;</div>
<div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;        pxi-&gt;<a class="code" href="a01821.html#a05a65f9f292bfebcf667b325200292f0">pcoi</a> = pcoi;</div>
<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;        pxi-&gt;<a class="code" href="a01821.html#ad0b56899c2df27096898ccce24547723">gaItem</a> = <a class="code" href="a00086.html#acf65a97e9c6a58c917c8a0c1a4209c03">LocalToGlobalAtom</a>(paLink-&gt;<a class="code" href="a01825.html#a491330cc2632c738dbfac1d6393eedb6">laItem</a>);    <span class="comment">// pxi copy</span></div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;        pxi-&gt;<a class="code" href="a01821.html#ac6ac629d505432bedeb5cb3b7123ac98">wFmt</a> = paLink-&gt;<a class="code" href="a01825.html#ac6ac629d505432bedeb5cb3b7123ac98">wFmt</a>;</div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;        pxi-&gt;<a class="code" href="a01821.html#aedf49a5424d4d9ad2cf1817a726c165f">wType</a> = paLink-&gt;<a class="code" href="a01825.html#aedf49a5424d4d9ad2cf1817a726c165f">wType</a>;</div>
<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;        paLink-&gt;<a class="code" href="a01825.html#a5d717a64978f34c9afb8ae23374160a0">state</a> &amp;= ~<a class="code" href="a00086.html#aacfa33437b9eeb369a6cb7e267094f67">ADVST_CHANGED</a>;</div>
<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="a00086.html#a76a473797e3eef0f9aaca6ec9032c457">SvStartAdviseUpdate</a>(pxi, cLinksToGo)) {</div>
<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;            <span class="keywordflow">if</span> (pxi-&gt;<a class="code" href="a01821.html#aedf49a5424d4d9ad2cf1817a726c165f">wType</a> &amp; DDE_FACKREQ) {</div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;                paLink-&gt;<a class="code" href="a01825.html#a5d717a64978f34c9afb8ae23374160a0">state</a> |= <a class="code" href="a00086.html#aaae87bfcfd8d2ae37589f93344fa6d6d">ADVST_WAITING</a>;</div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;                <span class="comment">/*</span></div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;<span class="comment">                 * swap paLink with the last non-moved link to make ack search find</span></div>
<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;<span class="comment">                 * oldest updated format.</span></div>
<div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;<span class="comment">                 */</span></div>
<div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;                <span class="keywordflow">if</span> (paLink != paLinkLast) {</div>
<div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160;                    aLinkT = *paLink;</div>
<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;                    memmove(paLink, paLink + 1,</div>
<div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;                            (PBYTE)paLinkLast - (PBYTE)paLink);</div>
<div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;                    *paLinkLast = aLinkT;</div>
<div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;                    *pfSwapped = TRUE;</div>
<div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;                }</div>
<div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;            }</div>
<div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;            <span class="keywordflow">return</span>(TRUE);</div>
<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;            GlobalDeleteAtom(pxi-&gt;<a class="code" href="a01821.html#ad0b56899c2df27096898ccce24547723">gaItem</a>);  <span class="comment">// pxi copy</span></div>
<div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;            <span class="keywordflow">return</span>(FALSE);</div>
<div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;        }</div>
<div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;    }</div>
<div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;    <span class="keywordflow">return</span>(FALSE);</div>
<div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00086_source.html#l00146">ADVST_CHANGED</a>, <a class="el" href="a00086_source.html#l00145">ADVST_WAITING</a>, <a class="el" href="a00086_source.html#l00050">CheckDDECritIn</a>, <a class="el" href="a00086_source.html#l00118">tagXACT_INFO::gaItem</a>, <a class="el" href="a00086_source.html#l00139">tagADVISE_LINK::laItem</a>, <a class="el" href="a00164_source.html#l00438">LocalToGlobalAtom()</a>, <a class="el" href="a00086_source.html#l00114">tagXACT_INFO::pcoi</a>, <a class="el" href="a00086_source.html#l00117">tagXACT_INFO::pfnResponse</a>, <a class="el" href="a00086_source.html#l00142">tagADVISE_LINK::state</a>, <a class="el" href="a00251_source.html#l00468">SvRespAdviseDataAck()</a>, <a class="el" href="a00251_source.html#l00261">SvStartAdviseUpdate()</a>, <a class="el" href="a00086_source.html#l00119">tagXACT_INFO::wFmt</a>, <a class="el" href="a00086_source.html#l00140">tagADVISE_LINK::wFmt</a>, <a class="el" href="a00086_source.html#l00120">tagXACT_INFO::wType</a> , 以及 <a class="el" href="a00086_source.html#l00141">tagADVISE_LINK::wType</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00272_source.html#l00663">DdePostAdvise()</a> , 以及 <a class="el" href="a00251_source.html#l00468">SvRespAdviseDataAck()</a>.</p>

</div>
</div>
<a id="a6b737e544221f0da4c09fe14a5e64aa4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b737e544221f0da4c09fe14a5e64aa4">&#9670;&nbsp;</a></span>ValidateTransaction()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL ValidateTransaction </td>
          <td>(</td>
          <td class="paramtype">HCONV&#160;</td>
          <td class="paramname"><em>hConv</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HANDLE&#160;</td>
          <td class="paramname"><em>hXact</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a> *&#160;</td>
          <td class="paramname"><em>ppcoi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00086.html#a908a74e7a82f658e6725be8a2891f24e">PXACT_INFO</a> *&#160;</td>
          <td class="paramname"><em>ppxi</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00272_source.html">xact.c</a> 第 <a class="el" href="a00272_source.html#l00863">863</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00868"></a><span class="lineno">  868</span>&#160;{</div>
<div class="line"><a name="l00869"></a><span class="lineno">  869</span>&#160;    <a class="code" href="a01841.html">PCL_INSTANCE_INFO</a> pcii;</div>
<div class="line"><a name="l00870"></a><span class="lineno">  870</span>&#160; </div>
<div class="line"><a name="l00871"></a><span class="lineno">  871</span>&#160;    *ppcoi = (<a class="code" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a>)<a class="code" href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a>((HANDLE)hConv,</div>
<div class="line"><a name="l00872"></a><span class="lineno">  872</span>&#160;            <a class="code" href="a00086.html#af24a0b4a7f0b1cafbdaa4f3dfa57248e">HTYPE_CLIENT_CONVERSATION</a>, <a class="code" href="a00086.html#a1404f4537352b9accf0bad83b81d3097">HINST_ANY</a>);</div>
<div class="line"><a name="l00873"></a><span class="lineno">  873</span>&#160;    <span class="keywordflow">if</span> (*ppcoi == NULL) {</div>
<div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160;        *ppcoi = (<a class="code" href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a>)<a class="code" href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a>((HANDLE)hConv,</div>
<div class="line"><a name="l00875"></a><span class="lineno">  875</span>&#160;                <a class="code" href="a00086.html#a32944b1cda443505f70b8e2f9f1495e6">HTYPE_SERVER_CONVERSATION</a>, <a class="code" href="a00086.html#a1404f4537352b9accf0bad83b81d3097">HINST_ANY</a>);</div>
<div class="line"><a name="l00876"></a><span class="lineno">  876</span>&#160;    }</div>
<div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160;    <span class="keywordflow">if</span> (*ppcoi == NULL) {</div>
<div class="line"><a name="l00878"></a><span class="lineno">  878</span>&#160;        <a class="code" href="a00086.html#a6e665e4ec7d374d1438e7970fb02d47c">BestSetLastDDEMLError</a>(DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00879"></a><span class="lineno">  879</span>&#160;        <span class="keywordflow">return</span> (FALSE);</div>
<div class="line"><a name="l00880"></a><span class="lineno">  880</span>&#160;    }</div>
<div class="line"><a name="l00881"></a><span class="lineno">  881</span>&#160;    pcii = <a class="code" href="a00086.html#a79511ee28e1a1b4843ee182f03a7f975">ValidateInstance</a>((*ppcoi)-&gt;pcii-&gt;hInstClient);</div>
<div class="line"><a name="l00882"></a><span class="lineno">  882</span>&#160;    <span class="keywordflow">if</span> (pcii != (*ppcoi)-&gt;pcii) {</div>
<div class="line"><a name="l00883"></a><span class="lineno">  883</span>&#160;        <a class="code" href="a00086.html#a6e665e4ec7d374d1438e7970fb02d47c">BestSetLastDDEMLError</a>(DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00884"></a><span class="lineno">  884</span>&#160;        <span class="keywordflow">return</span> (FALSE);</div>
<div class="line"><a name="l00885"></a><span class="lineno">  885</span>&#160;    }</div>
<div class="line"><a name="l00886"></a><span class="lineno">  886</span>&#160; </div>
<div class="line"><a name="l00887"></a><span class="lineno">  887</span>&#160;    <span class="keywordflow">if</span> (hXact == (HANDLE)QID_SYNC) {</div>
<div class="line"><a name="l00888"></a><span class="lineno">  888</span>&#160;        *ppxi = NULL;</div>
<div class="line"><a name="l00889"></a><span class="lineno">  889</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00890"></a><span class="lineno">  890</span>&#160;        *ppxi = (<a class="code" href="a00086.html#a908a74e7a82f658e6725be8a2891f24e">PXACT_INFO</a>)<a class="code" href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a>(hXact, <a class="code" href="a00086.html#a0584e6cac0299e697a2edad0ef508f8b">HTYPE_TRANSACTION</a>,</div>
<div class="line"><a name="l00891"></a><span class="lineno">  891</span>&#160;                <a class="code" href="a00086.html#a6a2176afcdf096eb6add39fa9d673f80">InstFromHandle</a>((*ppcoi)-&gt;pcii-&gt;hInstClient));</div>
<div class="line"><a name="l00892"></a><span class="lineno">  892</span>&#160;        <span class="keywordflow">if</span> (*ppxi == NULL) {</div>
<div class="line"><a name="l00893"></a><span class="lineno">  893</span>&#160;            <a class="code" href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a>((*ppcoi)-&gt;pcii, DMLERR_INVALIDPARAMETER);</div>
<div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;            <span class="keywordflow">return</span> (FALSE);</div>
<div class="line"><a name="l00895"></a><span class="lineno">  895</span>&#160;        }</div>
<div class="line"><a name="l00896"></a><span class="lineno">  896</span>&#160;    }</div>
<div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160;    <span class="keywordflow">return</span> (TRUE);</div>
<div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00155_source.html#l00336">BestSetLastDDEMLError()</a>, <a class="el" href="a00086_source.html#l00104">HINST_ANY</a>, <a class="el" href="a00086_source.html#l00097">HTYPE_CLIENT_CONVERSATION</a>, <a class="el" href="a00086_source.html#l00096">HTYPE_SERVER_CONVERSATION</a>, <a class="el" href="a00086_source.html#l00099">HTYPE_TRANSACTION</a>, <a class="el" href="a00086_source.html#l00087">InstFromHandle</a>, <a class="el" href="a00170_source.html#l00137">SetLastDDEMLError()</a>, <a class="el" href="a00155_source.html#l00204">ValidateCHandle()</a> , 以及 <a class="el" href="a00170_source.html#l00111">ValidateInstance()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00272_source.html#l00558">DdeAbandonTransaction()</a>, <a class="el" href="a00272_source.html#l00409">DdeQueryConvInfo()</a> , 以及 <a class="el" href="a00272_source.html#l00487">DdeSetUserHandle()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa01825_html_a491330cc2632c738dbfac1d6393eedb6"><div class="ttname"><a href="a01825.html#a491330cc2632c738dbfac1d6393eedb6">tagADVISE_LINK::laItem</a></div><div class="ttdeci">LATOM laItem</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00139">ddemlcli.h:139</a></div></div>
<div class="ttc" id="aa00086_html_ae22ff366c5b7c5bc0cc7d22b5c36884b"><div class="ttname"><a href="a00086.html#ae22ff366c5b7c5bc0cc7d22b5c36884b">ClStartUnadvise</a></div><div class="ttdeci">BOOL ClStartUnadvise(PXACT_INFO pxi)</div><div class="ttdef"><b>Definition:</b> <a href="a00251_source.html#l00544">stdptcl.c:544</a></div></div>
<div class="ttc" id="aa01821_html_a3e72a0d3f2894bdf7fea52a56128e0e5"><div class="ttname"><a href="a01821.html#a3e72a0d3f2894bdf7fea52a56128e0e5">tagXACT_INFO::pfnResponse</a></div><div class="ttdeci">FNRESPONSE pfnResponse</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00117">ddemlcli.h:117</a></div></div>
<div class="ttc" id="aa01841_html_a9735d28a0381236e8c20f45a431efd55"><div class="ttname"><a href="a01841.html#a9735d28a0381236e8c20f45a431efd55">tagCL_INSTANCE_INFO::afCmd</a></div><div class="ttdeci">DWORD afCmd</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00183">ddemlcli.h:183</a></div></div>
<div class="ttc" id="aa01865_html"><div class="ttname"><a href="a01865.html">tagDDEMLDATA</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00247">ddemlcli.h:247</a></div></div>
<div class="ttc" id="aa01837_html_a32dda772d5b26adbb6086b12a627bdd0"><div class="ttname"><a href="a01837.html#a32dda772d5b26adbb6086b12a627bdd0">tagLINK_COUNT::Count</a></div><div class="ttdeci">short Count</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00172">ddemlcli.h:172</a></div></div>
<div class="ttc" id="aa01821_html"><div class="ttname"><a href="a01821.html">tagXACT_INFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00112">ddemlcli.h:112</a></div></div>
<div class="ttc" id="aa00086_html_a0584e6cac0299e697a2edad0ef508f8b"><div class="ttname"><a href="a00086.html#a0584e6cac0299e697a2edad0ef508f8b">HTYPE_TRANSACTION</a></div><div class="ttdeci">#define HTYPE_TRANSACTION</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00099">ddemlcli.h:99</a></div></div>
<div class="ttc" id="aa01853_html"><div class="ttname"><a href="a01853.html">tagSVR_CONV_INFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00228">ddemlcli.h:228</a></div></div>
<div class="ttc" id="aa00086_html_a908a74e7a82f658e6725be8a2891f24e"><div class="ttname"><a href="a00086.html#a908a74e7a82f658e6725be8a2891f24e">PXACT_INFO</a></div><div class="ttdeci">struct tagXACT_INFO * PXACT_INFO</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00108">ddemlcli.h:108</a></div></div>
<div class="ttc" id="aa00062_html_a28bd8df0f53bb221fb21ec9650866ee8"><div class="ttname"><a href="a00062.html#a28bd8df0f53bb221fb21ec9650866ee8">FreeConversationResources</a></div><div class="ttdeci">VOID FreeConversationResources(PCONV_INFO pcoi)</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l01343">connect.c:1343</a></div></div>
<div class="ttc" id="aa01821_html_a1954303f7113d24c70c895196e307539"><div class="ttname"><a href="a01821.html#a1954303f7113d24c70c895196e307539">tagXACT_INFO::wStatus</a></div><div class="ttdeci">WORD wStatus</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00121">ddemlcli.h:121</a></div></div>
<div class="ttc" id="aa01821_html_aa5250ff1f63a5d1730bc299c7a96b6af"><div class="ttname"><a href="a01821.html#aa5250ff1f63a5d1730bc299c7a96b6af">tagXACT_INFO::flags</a></div><div class="ttdeci">WORD flags</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00122">ddemlcli.h:122</a></div></div>
<div class="ttc" id="aa00086_html_af89b93db5d183dfb4be78f13c4761c37"><div class="ttname"><a href="a00086.html#af89b93db5d183dfb4be78f13c4761c37">CopyDDEData</a></div><div class="ttdeci">HANDLE CopyDDEData(HANDLE hDDE, BOOL fExec)</div><div class="ttdef"><b>Definition:</b> <a href="a00158_source.html#l00650">hdata.c:650</a></div></div>
<div class="ttc" id="aa01845_html_ac54e3b685e73c03228d890f651895a84"><div class="ttname"><a href="a01845.html#ac54e3b685e73c03228d890f651895a84">tagCONV_INFO::pcii</a></div><div class="ttdeci">PCL_INSTANCE_INFO pcii</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00204">ddemlcli.h:204</a></div></div>
<div class="ttc" id="aa01865_html_a29bb851466268efcf57e7e81e2d0ab09"><div class="ttname"><a href="a01865.html#a29bb851466268efcf57e7e81e2d0ab09">tagDDEMLDATA::flags</a></div><div class="ttdeci">DWORD flags</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00249">ddemlcli.h:249</a></div></div>
<div class="ttc" id="aa00086_html_aa00e93da35592eb7500e7beb65887fda"><div class="ttname"><a href="a00086.html#aa00e93da35592eb7500e7beb65887fda">TID_TIMEOUT</a></div><div class="ttdeci">#define TID_TIMEOUT</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00132">ddemlcli.h:132</a></div></div>
<div class="ttc" id="aa01845_html_a6f9fff70be46542c217424f5f415821a"><div class="ttname"><a href="a01845.html#a6f9fff70be46542c217424f5f415821a">tagCONV_INFO::next</a></div><div class="ttdeci">struct tagCONV_INFO * next</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00203">ddemlcli.h:203</a></div></div>
<div class="ttc" id="aa01841_html_a6a33ca20f90febbc42166c4466d979c2"><div class="ttname"><a href="a01841.html#a6a33ca20f90febbc42166c4466d979c2">tagCL_INSTANCE_INFO::hInstClient</a></div><div class="ttdeci">HANDLE hInstClient</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00178">ddemlcli.h:178</a></div></div>
<div class="ttc" id="aa00086_html_a3a6dc4779828830febfd0fef1df87c45"><div class="ttname"><a href="a00086.html#a3a6dc4779828830febfd0fef1df87c45">PDDEMLDATA</a></div><div class="ttdeci">struct tagDDEMLDATA * PDDEMLDATA</div></div>
<div class="ttc" id="aa00086_html_a25b452366140d5cd334ef6f331b32aba"><div class="ttname"><a href="a00086.html#a25b452366140d5cd334ef6f331b32aba">AllocAndSetDDEData</a></div><div class="ttdeci">HANDLE AllocAndSetDDEData(LPBYTE pSrc, DWORD cb, WORD wStatus, WORD wFmt)</div><div class="ttdef"><b>Definition:</b> <a href="a00251_source.html#l01449">stdptcl.c:1449</a></div></div>
<div class="ttc" id="aa01837_html_a037642095df06ec39ad1a904cc1f7c30"><div class="ttname"><a href="a01837.html#a037642095df06ec39ad1a904cc1f7c30">tagLINK_COUNT::laTopic</a></div><div class="ttdeci">LATOM laTopic</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00167">ddemlcli.h:167</a></div></div>
<div class="ttc" id="aa01841_html_a08eff0aa356c1605fcfdc40a6a29b25d"><div class="ttname"><a href="a01841.html#a08eff0aa356c1605fcfdc40a6a29b25d">tagCL_INSTANCE_INFO::cServerLookupAlloc</a></div><div class="ttdeci">short cServerLookupAlloc</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00190">ddemlcli.h:190</a></div></div>
<div class="ttc" id="aa02041_html_ac6ac629d505432bedeb5cb3b7123ac98"><div class="ttname"><a href="a02041.html#ac6ac629d505432bedeb5cb3b7123ac98">tagDDE_DATA::wFmt</a></div><div class="ttdeci">WORD wFmt</div><div class="ttdef"><b>Definition:</b> <a href="a00338_source.html#l00019">ddetrack.h:19</a></div></div>
<div class="ttc" id="aa00086_html_a2f2b07793813729b365ea0e34d4753a2"><div class="ttname"><a href="a00086.html#a2f2b07793813729b365ea0e34d4753a2">ClStartPoke</a></div><div class="ttdeci">BOOL ClStartPoke(PXACT_INFO pxi)</div><div class="ttdef"><b>Definition:</b> <a href="a00251_source.html#l00987">stdptcl.c:987</a></div></div>
<div class="ttc" id="aa00086_html_a6a2176afcdf096eb6add39fa9d673f80"><div class="ttname"><a href="a00086.html#a6a2176afcdf096eb6add39fa9d673f80">InstFromHandle</a></div><div class="ttdeci">#define InstFromHandle(h)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00087">ddemlcli.h:87</a></div></div>
<div class="ttc" id="aa01841_html_aa5250ff1f63a5d1730bc299c7a96b6af"><div class="ttname"><a href="a01841.html#aa5250ff1f63a5d1730bc299c7a96b6af">tagCL_INSTANCE_INFO::flags</a></div><div class="ttdeci">WORD flags</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00192">ddemlcli.h:192</a></div></div>
<div class="ttc" id="aa01833_html_a45847fad972270155c58f8ca1db7c5c9"><div class="ttname"><a href="a01833.html#a45847fad972270155c58f8ca1db7c5c9">tagSERVER_LOOKUP::hwndServer</a></div><div class="ttdeci">HWND hwndServer</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00162">ddemlcli.h:162</a></div></div>
<div class="ttc" id="aa00272_html_ad285473b71ec0abd8d48a1ee988f7cf9"><div class="ttname"><a href="a00272.html#ad285473b71ec0abd8d48a1ee988f7cf9">AbandonTransaction</a></div><div class="ttdeci">VOID AbandonTransaction(PCONV_INFO pcoi, PXACT_INFO pxi)</div><div class="ttdef"><b>Definition:</b> <a href="a00272_source.html#l00515">xact.c:515</a></div></div>
<div class="ttc" id="aa00086_html_a32944b1cda443505f70b8e2f9f1495e6"><div class="ttname"><a href="a00086.html#a32944b1cda443505f70b8e2f9f1495e6">HTYPE_SERVER_CONVERSATION</a></div><div class="ttdeci">#define HTYPE_SERVER_CONVERSATION</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00096">ddemlcli.h:96</a></div></div>
<div class="ttc" id="aa01849_html"><div class="ttname"><a href="a01849.html">tagCL_CONV_INFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00222">ddemlcli.h:222</a></div></div>
<div class="ttc" id="aa00086_html_ac64721bd6049de0997fb056a93022b8e"><div class="ttname"><a href="a00086.html#ac64721bd6049de0997fb056a93022b8e">CheckDDECritIn</a></div><div class="ttdeci">#define CheckDDECritIn</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00050">ddemlcli.h:50</a></div></div>
<div class="ttc" id="aa01845_html_abb1c8670b152a59cef661dba09b0d09a"><div class="ttname"><a href="a01845.html#abb1c8670b152a59cef661dba09b0d09a">tagCONV_INFO::cLinks</a></div><div class="ttdeci">int cLinks</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00218">ddemlcli.h:218</a></div></div>
<div class="ttc" id="aa00086_html_a74f36efd1711016cbf41427811c2edea"><div class="ttname"><a href="a00086.html#a74f36efd1711016cbf41427811c2edea">GlobalToLocalAtom</a></div><div class="ttdeci">LATOM GlobalToLocalAtom(GATOM ga)</div><div class="ttdef"><b>Definition:</b> <a href="a00164_source.html#l00464">hsz.c:464</a></div></div>
<div class="ttc" id="aa00086_html_acc904eaf46cb98fa7741658d8e00f06c"><div class="ttname"><a href="a00086.html#acc904eaf46cb98fa7741658d8e00f06c">DDEMLAlloc</a></div><div class="ttdeci">#define DDEMLAlloc(cb)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00012">ddemlcli.h:12</a></div></div>
<div class="ttc" id="aa01853_html_a32c7595834535b04b8e88dd6ddb09d47"><div class="ttname"><a href="a01853.html#a32c7595834535b04b8e88dd6ddb09d47">tagSVR_CONV_INFO::ci</a></div><div class="ttdeci">CONV_INFO ci</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00229">ddemlcli.h:229</a></div></div>
<div class="ttc" id="aa01837_html"><div class="ttname"><a href="a01837.html">tagLINK_COUNT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00165">ddemlcli.h:165</a></div></div>
<div class="ttc" id="aa01833_html_a037642095df06ec39ad1a904cc1f7c30"><div class="ttname"><a href="a01833.html#a037642095df06ec39ad1a904cc1f7c30">tagSERVER_LOOKUP::laTopic</a></div><div class="ttdeci">LATOM laTopic</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00161">ddemlcli.h:161</a></div></div>
<div class="ttc" id="aa00371_html_a162a73e20dfabca084a3ebb4581631a8"><div class="ttname"><a href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a></div><div class="ttdeci">#define UserAssert(exp)</div><div class="ttdef"><b>Definition:</b> <a href="a00950_source.html#l00117">usersrv.h:117</a></div></div>
<div class="ttc" id="aa01845_html_ae2f75489761175d860578ce7ebf48913"><div class="ttname"><a href="a01845.html#ae2f75489761175d860578ce7ebf48913">tagCONV_INFO::pxiOut</a></div><div class="ttdeci">PXACT_INFO pxiOut</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00214">ddemlcli.h:214</a></div></div>
<div class="ttc" id="aa00272_html_a6b737e544221f0da4c09fe14a5e64aa4"><div class="ttname"><a href="a00272.html#a6b737e544221f0da4c09fe14a5e64aa4">ValidateTransaction</a></div><div class="ttdeci">BOOL ValidateTransaction(HCONV hConv, HANDLE hXact, PCONV_INFO *ppcoi, PXACT_INFO *ppxi)</div><div class="ttdef"><b>Definition:</b> <a href="a00272_source.html#l00863">xact.c:863</a></div></div>
<div class="ttc" id="aa00086_html_aaae87bfcfd8d2ae37589f93344fa6d6d"><div class="ttname"><a href="a00086.html#aaae87bfcfd8d2ae37589f93344fa6d6d">ADVST_WAITING</a></div><div class="ttdeci">#define ADVST_WAITING</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00145">ddemlcli.h:145</a></div></div>
<div class="ttc" id="aa00086_html_a79511ee28e1a1b4843ee182f03a7f975"><div class="ttname"><a href="a00086.html#a79511ee28e1a1b4843ee182f03a7f975">ValidateInstance</a></div><div class="ttdeci">PCL_INSTANCE_INFO ValidateInstance(HANDLE hInst)</div><div class="ttdef"><b>Definition:</b> <a href="a00170_source.html#l00111">instance.c:111</a></div></div>
<div class="ttc" id="aa00086_html_a14b7b2abd485b184293dcd3d34c29e23"><div class="ttname"><a href="a00086.html#a14b7b2abd485b184293dcd3d34c29e23">DDEMLFree</a></div><div class="ttdeci">#define DDEMLFree(p)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00014">ddemlcli.h:14</a></div></div>
<div class="ttc" id="aa00086_html_a8b2e79f5b5173a6fbfeb65e2195720c3"><div class="ttname"><a href="a00086.html#a8b2e79f5b5173a6fbfeb65e2195720c3">SetLastDDEMLError</a></div><div class="ttdeci">VOID SetLastDDEMLError(PCL_INSTANCE_INFO pcii, DWORD error)</div><div class="ttdef"><b>Definition:</b> <a href="a00170_source.html#l00137">instance.c:137</a></div></div>
<div class="ttc" id="aa00086_html_add6653a51a00a0e50834527371a62c7d"><div class="ttname"><a href="a00086.html#add6653a51a00a0e50834527371a62c7d">IIF_IN_SYNC_XACT</a></div><div class="ttdeci">#define IIF_IN_SYNC_XACT</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00197">ddemlcli.h:197</a></div></div>
<div class="ttc" id="aa01837_html_a491330cc2632c738dbfac1d6393eedb6"><div class="ttname"><a href="a01837.html#a491330cc2632c738dbfac1d6393eedb6">tagLINK_COUNT::laItem</a></div><div class="ttdeci">LATOM laItem</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00169">ddemlcli.h:169</a></div></div>
<div class="ttc" id="aa00086_html_abe83256a62ce986c65420f2cd66c77e9"><div class="ttname"><a href="a00086.html#abe83256a62ce986c65420f2cd66c77e9">XIF_COMPLETE</a></div><div class="ttdeci">#define XIF_COMPLETE</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00129">ddemlcli.h:129</a></div></div>
<div class="ttc" id="aa01841_html_adafcae37e57d97d2af3f070bd1042375"><div class="ttname"><a href="a01841.html#adafcae37e57d97d2af3f070bd1042375">tagCL_INSTANCE_INFO::aServerLookup</a></div><div class="ttdeci">PSERVER_LOOKUP aServerLookup</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00189">ddemlcli.h:189</a></div></div>
<div class="ttc" id="aa01845_html"><div class="ttname"><a href="a01845.html">tagCONV_INFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00202">ddemlcli.h:202</a></div></div>
<div class="ttc" id="aa01821_html_a1b4d14fa2fda5a52ae98ab4b4bca7f7b"><div class="ttname"><a href="a01821.html#a1b4d14fa2fda5a52ae98ab4b4bca7f7b">tagXACT_INFO::hDDEResult</a></div><div class="ttdeci">HANDLE hDDEResult</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00125">ddemlcli.h:125</a></div></div>
<div class="ttc" id="aa01845_html_a75a4f922bf2ce728600db75f33c697bf"><div class="ttname"><a href="a01845.html#a75a4f922bf2ce728600db75f33c697bf">tagCONV_INFO::pxiIn</a></div><div class="ttdeci">PXACT_INFO pxiIn</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00213">ddemlcli.h:213</a></div></div>
<div class="ttc" id="aa00086_html_af44bf1d07cfc3fd9da468e05c1028be6"><div class="ttname"><a href="a00086.html#af44bf1d07cfc3fd9da468e05c1028be6">ClStartAdvise</a></div><div class="ttdeci">BOOL ClStartAdvise(PXACT_INFO pxi)</div><div class="ttdef"><b>Definition:</b> <a href="a00251_source.html#l00065">stdptcl.c:65</a></div></div>
<div class="ttc" id="aa01841_html_a95c5ea2fe9e74aa8b772f13287b0ecda"><div class="ttname"><a href="a01841.html#a95c5ea2fe9e74aa8b772f13287b0ecda">tagCL_INSTANCE_INFO::hwndMother</a></div><div class="ttdeci">HWND hwndMother</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00180">ddemlcli.h:180</a></div></div>
<div class="ttc" id="aa00086_html_ac15ecf31fbeaa6e816f2f916d4ed2371"><div class="ttname"><a href="a00086.html#ac15ecf31fbeaa6e816f2f916d4ed2371">FreeDDEData</a></div><div class="ttdeci">VOID FreeDDEData(HANDLE hDDE, BOOL fIgnorefRelease, BOOL fFreeTruelyGlobalObjects)</div><div class="ttdef"><b>Definition:</b> <a href="a00158_source.html#l00481">hdata.c:481</a></div></div>
<div class="ttc" id="aa00086_html_a67bbd37f9d5db25a888e23b68f00abe9"><div class="ttname"><a href="a00086.html#a67bbd37f9d5db25a888e23b68f00abe9">PSVR_CONV_INFO</a></div><div class="ttdeci">struct tagSVR_CONV_INFO * PSVR_CONV_INFO</div></div>
<div class="ttc" id="aa00062_html_addc35586476828be0ae63df36451855f"><div class="ttname"><a href="a00062.html#addc35586476828be0ae63df36451855f">DefConvContext</a></div><div class="ttdeci">CONVCONTEXT DefConvContext</div><div class="ttdef"><b>Definition:</b> <a href="a00062_source.html#l00105">connect.c:105</a></div></div>
<div class="ttc" id="aa01841_html_a7f12cb41f151ba20c6052876aa458d00"><div class="ttname"><a href="a01841.html#a7f12cb41f151ba20c6052876aa458d00">tagCL_INSTANCE_INFO::pLinkCount</a></div><div class="ttdeci">PLINK_COUNT pLinkCount</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00194">ddemlcli.h:194</a></div></div>
<div class="ttc" id="aa00362_html_ad70225d60448a064c552efafd13fce64"><div class="ttname"><a href="a00362.html#ad70225d60448a064c552efafd13fce64">NtUserSetTimer</a></div><div class="ttdeci">UINT NtUserSetTimer(IN HWND hwnd, IN UINT nIDEvent, IN UINT wElapse, IN TIMERPROC pTimerFunc)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l04749">kernel/ntstubs.c:4749</a></div></div>
<div class="ttc" id="aa01837_html_abaf3237b7c439f6952526fe04044ee9e"><div class="ttname"><a href="a01837.html#abaf3237b7c439f6952526fe04044ee9e">tagLINK_COUNT::next</a></div><div class="ttdeci">struct tagLINK_COUNT * next</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00166">ddemlcli.h:166</a></div></div>
<div class="ttc" id="aa00356_html_a31b7d4a59c136a9e1cb019e4fbe7233f"><div class="ttname"><a href="a00356.html#a31b7d4a59c136a9e1cb019e4fbe7233f">CallMsgFilter</a></div><div class="ttdeci">BOOL CallMsgFilter(LPMSG pmsg, int nCode)</div><div class="ttdef"><b>Definition:</b> <a href="a00356_source.html#l01480">ntcftxt.h:1480</a></div></div>
<div class="ttc" id="aa01845_html_aba9f8f0b5693cc2b4e3e1399bb9db05f"><div class="ttname"><a href="a01845.html#aba9f8f0b5693cc2b4e3e1399bb9db05f">tagCONV_INFO::hwndConv</a></div><div class="ttdeci">HWND hwndConv</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00210">ddemlcli.h:210</a></div></div>
<div class="ttc" id="aa01821_html_a384e253a2bcbd5fba033ae3d9367b7e2"><div class="ttname"><a href="a01821.html#a384e253a2bcbd5fba033ae3d9367b7e2">tagXACT_INFO::hDDESent</a></div><div class="ttdeci">HANDLE hDDESent</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00124">ddemlcli.h:124</a></div></div>
<div class="ttc" id="aa01825_html"><div class="ttname"><a href="a01825.html">tagADVISE_LINK</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00137">ddemlcli.h:137</a></div></div>
<div class="ttc" id="aa00272_html_aa23a5781d2648130b7fe700b25e3b157"><div class="ttname"><a href="a00272.html#aa23a5781d2648130b7fe700b25e3b157">GetConvContext</a></div><div class="ttdeci">VOID GetConvContext(HWND hwnd, LONG *pl)</div><div class="ttdef"><b>Definition:</b> <a href="a00272_source.html#l00366">xact.c:366</a></div></div>
<div class="ttc" id="aa01849_html_a32c7595834535b04b8e88dd6ddb09d47"><div class="ttname"><a href="a01849.html#a32c7595834535b04b8e88dd6ddb09d47">tagCL_CONV_INFO::ci</a></div><div class="ttdeci">CONV_INFO ci</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00223">ddemlcli.h:223</a></div></div>
<div class="ttc" id="aa00086_html_a8ec365b8e8550c587aadd14daeb84b2b"><div class="ttname"><a href="a00086.html#a8ec365b8e8550c587aadd14daeb84b2b">NORMAL_HSZ_FROM_LATOM</a></div><div class="ttdeci">#define NORMAL_HSZ_FROM_LATOM(a)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00062">ddemlcli.h:62</a></div></div>
<div class="ttc" id="aa01825_html_ada696c68d610d9735c5f59302d2955ae"><div class="ttname"><a href="a01825.html#ada696c68d610d9735c5f59302d2955ae">tagADVISE_LINK::pLinkCount</a></div><div class="ttdeci">struct tagLINK_COUNT * pLinkCount</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00138">ddemlcli.h:138</a></div></div>
<div class="ttc" id="aa01837_html_a23a1038dcd2d6049ff910addc32d4934"><div class="ttname"><a href="a01837.html#a23a1038dcd2d6049ff910addc32d4934">tagLINK_COUNT::Total</a></div><div class="ttdeci">short Total</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00171">ddemlcli.h:171</a></div></div>
<div class="ttc" id="aa00563_html_a074685e97e89d6aa2accdfcb82328699"><div class="ttname"><a href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a></div><div class="ttdeci">ddeml v[i&lt; inst &gt;][t&lt; type &gt;][hObj|pObj] Dump DDEML state information ddeml lists all ddeml instances for this process n ddeml t&lt; type &gt; lists all ddeml objects of the given type n n assumes link is first DWORD</div><div class="ttdef"><b>Definition:</b> <a href="a00563_source.html#l00175">exts.h:175</a></div></div>
<div class="ttc" id="aa00017_html_a66b03f4fabbf53c448e78f023d0b9d28"><div class="ttname"><a href="a00017.html#a66b03f4fabbf53c448e78f023d0b9d28">EnumChildWindows</a></div><div class="ttdeci">BOOL WINAPI EnumChildWindows(HWND hwnd, WNDENUMPROC lpfn, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00017_source.html#l00052">clenum.c:52</a></div></div>
<div class="ttc" id="aa01845_html_a5d717a64978f34c9afb8ae23374160a0"><div class="ttname"><a href="a01845.html#a5d717a64978f34c9afb8ae23374160a0">tagCONV_INFO::state</a></div><div class="ttdeci">WORD state</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00211">ddemlcli.h:211</a></div></div>
<div class="ttc" id="aa00086_html_a10a38c099efa84aee9f17633723e5888"><div class="ttname"><a href="a00086.html#a10a38c099efa84aee9f17633723e5888">SvRespAdviseDataAck</a></div><div class="ttdeci">BOOL SvRespAdviseDataAck(PXACT_INFO pxi, UINT msg, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00251_source.html#l00468">stdptcl.c:468</a></div></div>
<div class="ttc" id="aa00086_html_a4ef5faecf33ead428f95c9e93ef1ef4d"><div class="ttname"><a href="a00086.html#a4ef5faecf33ead428f95c9e93ef1ef4d">LATOM_FROM_HSZ</a></div><div class="ttdeci">#define LATOM_FROM_HSZ(hsz)</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00061">ddemlcli.h:61</a></div></div>
<div class="ttc" id="aa01821_html_a5d717a64978f34c9afb8ae23374160a0"><div class="ttname"><a href="a01821.html#a5d717a64978f34c9afb8ae23374160a0">tagXACT_INFO::state</a></div><div class="ttdeci">WORD state</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00123">ddemlcli.h:123</a></div></div>
<div class="ttc" id="aa00086_html_a1404f4537352b9accf0bad83b81d3097"><div class="ttname"><a href="a00086.html#a1404f4537352b9accf0bad83b81d3097">HINST_ANY</a></div><div class="ttdeci">#define HINST_ANY</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00104">ddemlcli.h:104</a></div></div>
<div class="ttc" id="aa00086_html_a5fdfc9c14ae2a16615114c2ad79bd609"><div class="ttname"><a href="a00086.html#a5fdfc9c14ae2a16615114c2ad79bd609">HSZT_INVALID</a></div><div class="ttdeci">#define HSZT_INVALID</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00057">ddemlcli.h:57</a></div></div>
<div class="ttc" id="aa01821_html_aedf49a5424d4d9ad2cf1817a726c165f"><div class="ttname"><a href="a01821.html#aedf49a5424d4d9ad2cf1817a726c165f">tagXACT_INFO::wType</a></div><div class="ttdeci">WORD wType</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00120">ddemlcli.h:120</a></div></div>
<div class="ttc" id="aa00272_html_a23e4005eb40215f2d10dcbc3d28c7035"><div class="ttname"><a href="a00272.html#a23e4005eb40215f2d10dcbc3d28c7035">UpdateLinkIfChanged</a></div><div class="ttdeci">BOOL UpdateLinkIfChanged(PADVISE_LINK paLink, PXACT_INFO pxi, PCONV_INFO pcoi, PADVISE_LINK paLinkLast, PBOOL pfSwapped, DWORD cLinksToGo)</div><div class="ttdef"><b>Definition:</b> <a href="a00272_source.html#l00609">xact.c:609</a></div></div>
<div class="ttc" id="aa00086_html_ab4b8799817dd461e619a02ba50744fca"><div class="ttname"><a href="a00086.html#ab4b8799817dd461e619a02ba50744fca">ValidateHSZ</a></div><div class="ttdeci">DWORD ValidateHSZ(HSZ hsz)</div><div class="ttdef"><b>Definition:</b> <a href="a00164_source.html#l00340">hsz.c:340</a></div></div>
<div class="ttc" id="aa00086_html_a16b95326c12d90db9bd4da05718a148e"><div class="ttname"><a href="a00086.html#a16b95326c12d90db9bd4da05718a148e">HTYPE_DATA_HANDLE</a></div><div class="ttdeci">#define HTYPE_DATA_HANDLE</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00100">ddemlcli.h:100</a></div></div>
<div class="ttc" id="aa01865_html_a4972111cfc06fe665c9de97d85abb5cc"><div class="ttname"><a href="a01865.html#a4972111cfc06fe665c9de97d85abb5cc">tagDDEMLDATA::hDDE</a></div><div class="ttdeci">HANDLE hDDE</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00248">ddemlcli.h:248</a></div></div>
<div class="ttc" id="aa00362_html_a3d1e04978c2c8aa7594bb2ce1187a6ad"><div class="ttname"><a href="a00362.html#a3d1e04978c2c8aa7594bb2ce1187a6ad">NtUserKillTimer</a></div><div class="ttdeci">BOOL NtUserKillTimer(IN HWND hwnd, IN UINT nIDEvent)</div><div class="ttdef"><b>Definition:</b> <a href="a03614_source.html#l04150">kernel/ntstubs.c:4150</a></div></div>
<div class="ttc" id="aa00086_html_a76a473797e3eef0f9aaca6ec9032c457"><div class="ttname"><a href="a00086.html#a76a473797e3eef0f9aaca6ec9032c457">SvStartAdviseUpdate</a></div><div class="ttdeci">BOOL SvStartAdviseUpdate(PXACT_INFO pxi, DWORD cLinksToGo)</div><div class="ttdef"><b>Definition:</b> <a href="a00251_source.html#l00261">stdptcl.c:261</a></div></div>
<div class="ttc" id="aa01821_html_a5ba94794b09bbe63db26f8ff21336123"><div class="ttname"><a href="a01821.html#a5ba94794b09bbe63db26f8ff21336123">tagXACT_INFO::hXact</a></div><div class="ttdeci">HANDLE hXact</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00116">ddemlcli.h:116</a></div></div>
<div class="ttc" id="aa00086_html_a3b5310e2dd6b3c42cb13fa51a1b4e254"><div class="ttname"><a href="a00086.html#a3b5310e2dd6b3c42cb13fa51a1b4e254">LeaveDDECrit</a></div><div class="ttdeci">#define LeaveDDECrit</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00041">ddemlcli.h:41</a></div></div>
<div class="ttc" id="aa00086_html_af24a0b4a7f0b1cafbdaa4f3dfa57248e"><div class="ttname"><a href="a00086.html#af24a0b4a7f0b1cafbdaa4f3dfa57248e">HTYPE_CLIENT_CONVERSATION</a></div><div class="ttdeci">#define HTYPE_CLIENT_CONVERSATION</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00097">ddemlcli.h:97</a></div></div>
<div class="ttc" id="aa01825_html_a5d717a64978f34c9afb8ae23374160a0"><div class="ttname"><a href="a01825.html#a5d717a64978f34c9afb8ae23374160a0">tagADVISE_LINK::state</a></div><div class="ttdeci">WORD state</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00142">ddemlcli.h:142</a></div></div>
<div class="ttc" id="aa00356_html_a23db7caf54fdea982109fee215acbe14"><div class="ttname"><a href="a00356.html#a23db7caf54fdea982109fee215acbe14">GetMessage</a></div><div class="ttdeci">BOOL APIENTRY GetMessage(LPMSG pmsg, HWND hwnd, UINT wMsgFilterMin, UINT wMsgFilterMax)</div><div class="ttdef"><b>Definition:</b> <a href="a00356_source.html#l00276">ntcftxt.h:276</a></div></div>
<div class="ttc" id="aa01821_html_ad0b56899c2df27096898ccce24547723"><div class="ttname"><a href="a01821.html#ad0b56899c2df27096898ccce24547723">tagXACT_INFO::gaItem</a></div><div class="ttdeci">GATOM gaItem</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00118">ddemlcli.h:118</a></div></div>
<div class="ttc" id="aa00086_html_a3dc39629249824029407d9b5954b34f5"><div class="ttname"><a href="a00086.html#a3dc39629249824029407d9b5954b34f5">PCL_CONV_INFO</a></div><div class="ttdeci">struct tagCL_CONV_INFO * PCL_CONV_INFO</div></div>
<div class="ttc" id="aa00086_html_afa531ef37c095b516574aacc465a9b88"><div class="ttname"><a href="a00086.html#afa531ef37c095b516574aacc465a9b88">ClStartRequest</a></div><div class="ttdeci">BOOL ClStartRequest(PXACT_INFO pxi)</div><div class="ttdef"><b>Definition:</b> <a href="a00251_source.html#l01151">stdptcl.c:1151</a></div></div>
<div class="ttc" id="aa01821_html_a05a65f9f292bfebcf667b325200292f0"><div class="ttname"><a href="a01821.html#a05a65f9f292bfebcf667b325200292f0">tagXACT_INFO::pcoi</a></div><div class="ttdeci">struct tagCONV_INFO * pcoi</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00114">ddemlcli.h:114</a></div></div>
<div class="ttc" id="aa01825_html_aedf49a5424d4d9ad2cf1817a726c165f"><div class="ttname"><a href="a01825.html#aedf49a5424d4d9ad2cf1817a726c165f">tagADVISE_LINK::wType</a></div><div class="ttdeci">WORD wType</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00141">ddemlcli.h:141</a></div></div>
<div class="ttc" id="aa01845_html_a9a66c3e7ae56e5adf407e16f01a76676"><div class="ttname"><a href="a01845.html#a9a66c3e7ae56e5adf407e16f01a76676">tagCONV_INFO::laServiceRequested</a></div><div class="ttdeci">LATOM laServiceRequested</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00212">ddemlcli.h:212</a></div></div>
<div class="ttc" id="aa00086_html_a6e665e4ec7d374d1438e7970fb02d47c"><div class="ttname"><a href="a00086.html#a6e665e4ec7d374d1438e7970fb02d47c">BestSetLastDDEMLError</a></div><div class="ttdeci">VOID BestSetLastDDEMLError(DWORD error)</div><div class="ttdef"><b>Definition:</b> <a href="a00155_source.html#l00336">handles.c:336</a></div></div>
<div class="ttc" id="aa00272_html_ad85cfb78e0ddb1b229537d352e86b6b5"><div class="ttname"><a href="a00272.html#ad85cfb78e0ddb1b229537d352e86b6b5">AbandonEnumerateProc</a></div><div class="ttdeci">BOOL AbandonEnumerateProc(HWND hwnd, LONG idTransaction)</div><div class="ttdef"><b>Definition:</b> <a href="a00272_source.html#l00530">xact.c:530</a></div></div>
<div class="ttc" id="aa00086_html_ad5b8ef18960b493b8123fdce517dc30f"><div class="ttname"><a href="a00086.html#ad5b8ef18960b493b8123fdce517dc30f">ValidateCHandle</a></div><div class="ttdeci">DWORD ValidateCHandle(HANDLE h, DWORD ExpectedType, DWORD ExpectedInstance)</div><div class="ttdef"><b>Definition:</b> <a href="a00155_source.html#l00204">handles.c:204</a></div></div>
<div class="ttc" id="aa00083_html_a63f581f77741f505d021ff7db3884655"><div class="ttname"><a href="a00083.html#a63f581f77741f505d021ff7db3884655">DdeUninitialize</a></div><div class="ttdeci">BOOL DdeUninitialize(DWORD idInst)</div><div class="ttdef"><b>Definition:</b> <a href="a00083_source.html#l00192">ddemlcli.c:192</a></div></div>
<div class="ttc" id="aa01841_html_a4adee47baa975d0bf7a9293f02dd1f8d"><div class="ttname"><a href="a01841.html#a4adee47baa975d0bf7a9293f02dd1f8d">tagCL_INSTANCE_INFO::LastError</a></div><div class="ttdeci">DWORD LastError</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00185">ddemlcli.h:185</a></div></div>
<div class="ttc" id="aa01841_html_a1d2c0cdf4c98729ad5fd4ce31441175e"><div class="ttname"><a href="a01841.html#a1d2c0cdf4c98729ad5fd4ce31441175e">tagCL_INSTANCE_INFO::cInDDEMLCallback</a></div><div class="ttdeci">short cInDDEMLCallback</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00193">ddemlcli.h:193</a></div></div>
<div class="ttc" id="aa01825_html_ac6ac629d505432bedeb5cb3b7123ac98"><div class="ttname"><a href="a01825.html#ac6ac629d505432bedeb5cb3b7123ac98">tagADVISE_LINK::wFmt</a></div><div class="ttdeci">WORD wFmt</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00140">ddemlcli.h:140</a></div></div>
<div class="ttc" id="aa03608_html_afd1a0e78d1f88954d93e48ab3821781f"><div class="ttname"><a href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a></div><div class="ttdeci">typedef UINT(FAR WINAPI *MSGSOUNDPROC)()</div></div>
<div class="ttc" id="aa01845_html_a5234fbd6988274cd28565970f54a110c"><div class="ttname"><a href="a01845.html#a5234fbd6988274cd28565970f54a110c">tagCONV_INFO::laService</a></div><div class="ttdeci">LATOM laService</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00207">ddemlcli.h:207</a></div></div>
<div class="ttc" id="aa01845_html_a037642095df06ec39ad1a904cc1f7c30"><div class="ttname"><a href="a01845.html#a037642095df06ec39ad1a904cc1f7c30">tagCONV_INFO::laTopic</a></div><div class="ttdeci">LATOM laTopic</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00208">ddemlcli.h:208</a></div></div>
<div class="ttc" id="aa00086_html_a8c66aaa58bd4b338d4f04ae07d4fb23a"><div class="ttname"><a href="a00086.html#a8c66aaa58bd4b338d4f04ae07d4fb23a">EnterDDECrit</a></div><div class="ttdeci">#define EnterDDECrit</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00040">ddemlcli.h:40</a></div></div>
<div class="ttc" id="aa00086_html_ab33fde1c202482901a22501695193256"><div class="ttname"><a href="a00086.html#ab33fde1c202482901a22501695193256">ClStartExecute</a></div><div class="ttdeci">BOOL ClStartExecute(PXACT_INFO pxi)</div><div class="ttdef"><b>Definition:</b> <a href="a00251_source.html#l00827">stdptcl.c:827</a></div></div>
<div class="ttc" id="aa01821_html_a153d6c3a56fb1f036b945c7eb58bfe27"><div class="ttname"><a href="a01821.html#a153d6c3a56fb1f036b945c7eb58bfe27">tagXACT_INFO::next</a></div><div class="ttdeci">struct tagXACT_INFO * next</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00113">ddemlcli.h:113</a></div></div>
<div class="ttc" id="aa01845_html_ab633a373034405937a22e9d2c0cbf4ad"><div class="ttname"><a href="a01845.html#ab633a373034405937a22e9d2c0cbf4ad">tagCONV_INFO::hwndPartner</a></div><div class="ttdeci">HWND hwndPartner</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00209">ddemlcli.h:209</a></div></div>
<div class="ttc" id="aa00086_html_aacfa33437b9eeb369a6cb7e267094f67"><div class="ttname"><a href="a00086.html#aacfa33437b9eeb369a6cb7e267094f67">ADVST_CHANGED</a></div><div class="ttdeci">#define ADVST_CHANGED</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00146">ddemlcli.h:146</a></div></div>
<div class="ttc" id="aa00086_html_ac204a6b912ffd4404bb455e0f78d527e"><div class="ttname"><a href="a00086.html#ac204a6b912ffd4404bb455e0f78d527e">PCONV_INFO</a></div><div class="ttdeci">struct tagCONV_INFO * PCONV_INFO</div></div>
<div class="ttc" id="aa00086_html_a49f0ae82e6897f4c6208f18e7c04d787"><div class="ttname"><a href="a00086.html#a49f0ae82e6897f4c6208f18e7c04d787">DestroyHandle</a></div><div class="ttdeci">DWORD DestroyHandle(HANDLE h)</div><div class="ttdef"><b>Definition:</b> <a href="a00155_source.html#l00137">handles.c:137</a></div></div>
<div class="ttc" id="aa00086_html_a172a497f8e292f94aa582081b635a467"><div class="ttname"><a href="a00086.html#a172a497f8e292f94aa582081b635a467">InternalCreateDataHandle</a></div><div class="ttdeci">HDDEDATA InternalCreateDataHandle(PCL_INSTANCE_INFO pcii, LPBYTE pSrc, DWORD cb, DWORD cbOff, DWORD flags, WORD wStatus, WORD wFmt)</div><div class="ttdef"><b>Definition:</b> <a href="a00158_source.html#l00087">hdata.c:87</a></div></div>
<div class="ttc" id="aa01821_html_ac6ac629d505432bedeb5cb3b7123ac98"><div class="ttname"><a href="a01821.html#ac6ac629d505432bedeb5cb3b7123ac98">tagXACT_INFO::wFmt</a></div><div class="ttdeci">WORD wFmt</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00119">ddemlcli.h:119</a></div></div>
<div class="ttc" id="aa00086_html_acf65a97e9c6a58c917c8a0c1a4209c03"><div class="ttname"><a href="a00086.html#acf65a97e9c6a58c917c8a0c1a4209c03">LocalToGlobalAtom</a></div><div class="ttdeci">GATOM LocalToGlobalAtom(LATOM la)</div><div class="ttdef"><b>Definition:</b> <a href="a00164_source.html#l00438">hsz.c:438</a></div></div>
<div class="ttc" id="aa01845_html_abd6ddc0ca811ba45f97e1052e24c92f7"><div class="ttname"><a href="a01845.html#abd6ddc0ca811ba45f97e1052e24c92f7">tagCONV_INFO::aLinks</a></div><div class="ttdeci">PADVISE_LINK aLinks</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00217">ddemlcli.h:217</a></div></div>
<div class="ttc" id="aa00086_html_a719adb0898e764e3a14eaaad50bf7606"><div class="ttname"><a href="a00086.html#a719adb0898e764e3a14eaaad50bf7606">XIF_ABANDONED</a></div><div class="ttdeci">#define XIF_ABANDONED</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00130">ddemlcli.h:130</a></div></div>
<div class="ttc" id="aa00086_html_a87d38bfb89ae342e462db838beab43cf"><div class="ttname"><a href="a00086.html#a87d38bfb89ae342e462db838beab43cf">CreateHandle</a></div><div class="ttdeci">HANDLE CreateHandle(DWORD dwData, DWORD type, DWORD inst)</div><div class="ttdef"><b>Definition:</b> <a href="a00155_source.html#l00075">handles.c:75</a></div></div>
<div class="ttc" id="aa00086_html_af4a5ecbacfdd6845c5c37342f333ace4"><div class="ttname"><a href="a00086.html#af4a5ecbacfdd6845c5c37342f333ace4">CheckDDECritOut</a></div><div class="ttdeci">#define CheckDDECritOut</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00051">ddemlcli.h:51</a></div></div>
<div class="ttc" id="aa01821_html_a9a645983c1194ebc1b5ba2410a5aba7b"><div class="ttname"><a href="a01821.html#a9a645983c1194ebc1b5ba2410a5aba7b">tagXACT_INFO::hUser</a></div><div class="ttdeci">DWORD hUser</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00115">ddemlcli.h:115</a></div></div>
<div class="ttc" id="aa01845_html_a9a645983c1194ebc1b5ba2410a5aba7b"><div class="ttname"><a href="a01845.html#a9a645983c1194ebc1b5ba2410a5aba7b">tagCONV_INFO::hUser</a></div><div class="ttdeci">DWORD hUser</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00205">ddemlcli.h:205</a></div></div>
<div class="ttc" id="aa01841_html"><div class="ttname"><a href="a01841.html">tagCL_INSTANCE_INFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00175">ddemlcli.h:175</a></div></div>
<div class="ttc" id="aa02041_html"><div class="ttname"><a href="a02041.html">tagDDE_DATA</a></div><div class="ttdef"><b>Definition:</b> <a href="a00338_source.html#l00017">ddetrack.h:17</a></div></div>
<div class="ttc" id="aa02041_html_a1954303f7113d24c70c895196e307539"><div class="ttname"><a href="a02041.html#a1954303f7113d24c70c895196e307539">tagDDE_DATA::wStatus</a></div><div class="ttdeci">WORD wStatus</div><div class="ttdef"><b>Definition:</b> <a href="a00338_source.html#l00018">ddetrack.h:18</a></div></div>
<div class="ttc" id="aa00086_html_a2a5756b0e255d0398efa69c2d3fa9efa"><div class="ttname"><a href="a00086.html#a2a5756b0e255d0398efa69c2d3fa9efa">XIF_SYNCHRONOUS</a></div><div class="ttdeci">#define XIF_SYNCHRONOUS</div><div class="ttdef"><b>Definition:</b> <a href="a00086_source.html#l00128">ddemlcli.h:128</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_caf01b281dbc7d7ffe410ecf117b6142.html">client</a></li><li class="navelem"><a class="el" href="a00272.html">xact.c</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
